AccessControlEntry Constructor (IdentityDescriptor, Int32, Int32)
Creates an AccessControlEntry based on the supplied information.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.VisualStudio.Services.Identity.IdentityDescriptorThe descriptor for the user this AccessControlEntry applies to.
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.