AccessControlList.SetPermissions Method
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaração
Public Function SetPermissions ( _
descriptor As IdentityDescriptor, _
allow As Integer, _
deny As Integer, _
merge As Boolean _
) As AccessControlEntry
public AccessControlEntry SetPermissions(
IdentityDescriptor descriptor,
int allow,
int deny,
bool merge
)
public:
AccessControlEntry^ SetPermissions(
IdentityDescriptor^ descriptor,
int allow,
int deny,
bool merge
)
member SetPermissions :
descriptor:IdentityDescriptor *
allow:int *
deny:int *
merge:bool -> AccessControlEntry
public function SetPermissions(
descriptor : IdentityDescriptor,
allow : int,
deny : int,
merge : boolean
) : AccessControlEntry
Parameters
- descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
- allow
Type: System.Int32
- deny
Type: System.Int32
- merge
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.AccessControlEntry
.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.