This documentation is archived and is not being maintained.
SecurityNamespace::SetAccessControlEntries Method
Visual Studio 2013
Sets the provided access control entries in this SecurityNamespace.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public: virtual Collection<AccessControlEntry^>^ SetAccessControlEntries( String^ token, IEnumerable<AccessControlEntry^>^ accessControlEntries, bool merge ) abstract
Parameters
- token
- Type: System::String
The token that is associated with the AccessControlList on which to set the AccessControlEntry.
- accessControlEntries
- Type: System.Collections.Generic::IEnumerable<AccessControlEntry>
The AccessControlEntry objects 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: System.Collections.ObjectModel::Collection<AccessControlEntry>The new or updated access control entries that were set in the SecurityNamespace.
- 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.
Show: