This documentation is archived and is not being maintained.

SecurityNamespace::SetAccessControlEntry Method

Sets the specified AccessControlEntry in this SecurityNamespace.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
virtual AccessControlEntry^ SetAccessControlEntry(
	String^ token, 
	AccessControlEntry^ accessControlEntry, 
	bool merge
) abstract

Parameters

token
Type: System::String

The token that is associated with the AccessControlList on which to set the permissions.

accessControlEntry
Type: Microsoft.TeamFoundation.Framework.Client::AccessControlEntry

The AccessControlEntry to set in the SecurityNamespace.

merge
Type: System::Boolean

True to merge the specified permissions with existing permissions for the specified AccessControlEntry. False to set the permissions as specified.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client::AccessControlEntry
The new or updated AccessControlEntry that was set in the SecurityNamespace.

Show: