Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the specified AccessControlEntry in this SecurityNamespace.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public MustOverride Function SetAccessControlEntry ( _
token As String, _
accessControlEntry As AccessControlEntry, _
merge As Boolean _
) As AccessControlEntry
public abstract AccessControlEntry SetAccessControlEntry(
string token,
AccessControlEntry accessControlEntry,
bool merge
)
public:
virtual AccessControlEntry^ SetAccessControlEntry(
String^ token,
AccessControlEntry^ accessControlEntry,
bool merge
) abstract
abstract SetAccessControlEntry :
token:string *
accessControlEntry:AccessControlEntry *
merge:bool -> AccessControlEntry
public abstract function SetAccessControlEntry(
token : String,
accessControlEntry : AccessControlEntry,
merge : boolean
) : AccessControlEntry
Parameters
token
Type: System.StringThe token that is associated with the AccessControlList on which to set the permissions.
accessControlEntry
Type: Microsoft.TeamFoundation.Framework.Client.AccessControlEntryThe AccessControlEntry to set in the SecurityNamespace.
merge
Type: System.BooleanTrue 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.