AccessControlEntry Constructor (IdentityDescriptor, Int32, Int32)
Initializes a new AccessControlEntry instance.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
descriptor As IdentityDescriptor, _
allow As Integer, _
deny As Integer _
)
public AccessControlEntry(
IdentityDescriptor descriptor,
int allow,
int deny
)
public:
AccessControlEntry(
IdentityDescriptor^ descriptor,
int allow,
int deny
)
new :
descriptor:IdentityDescriptor *
allow:int *
deny:int -> AccessControlEntry
public function AccessControlEntry(
descriptor : IdentityDescriptor,
allow : int,
deny : int
)
Parameters
descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptorThe identity descriptor of the user to whom this access control entry applies.
allow
Type: System.Int32The allowed permissions for this descriptor.
deny
Type: System.Int32The denied permissions for this descriptor.
.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.