Bagikan melalui


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

  • allow
    Type: System.Int32

    The allowed permissions for this descriptor.

  • deny
    Type: System.Int32

    The denied permissions for this descriptor.

.NET Framework Security

See Also

Reference

AccessControlEntry Class

AccessControlEntry Overload

Microsoft.TeamFoundation.Framework.Client Namespace