AccessControlList.SetPermissions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function SetPermissions ( _
descriptor As IdentityDescriptor, _
allow As Integer, _
deny As Integer, _
merge As Boolean _
) As AccessControlEntry
public virtual AccessControlEntry SetPermissions(
IdentityDescriptor descriptor,
int allow,
int deny,
bool merge
)
public:
virtual AccessControlEntry^ SetPermissions(
IdentityDescriptor^ descriptor,
int allow,
int deny,
bool merge
)
abstract SetPermissions :
descriptor:IdentityDescriptor *
allow:int *
deny:int *
merge:bool -> AccessControlEntry
override 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.Server.IdentityDescriptor
- allow
Type: System.Int32
- deny
Type: System.Int32
- merge
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.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.