Поделиться через


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

  • 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.Server Namespace