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
'宣告
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.IdentityDescriptor
The identity descriptor of the user to whom this access control entry applies.
- allow
Type: System.Int32
The allowed permissions for this descriptor.
- deny
Type: System.Int32
The 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.