Share via


AccessControlList.SetPermissions Method

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function SetPermissions ( _
    descriptor As IdentityDescriptor, _
    allow As Integer, _
    deny As Integer, _
    merge As Boolean _
) As AccessControlEntry
public AccessControlEntry SetPermissions(
    IdentityDescriptor descriptor,
    int allow,
    int deny,
    bool merge
)
public:
AccessControlEntry^ SetPermissions(
    IdentityDescriptor^ descriptor, 
    int allow, 
    int deny, 
    bool merge
)
member SetPermissions : 
        descriptor:IdentityDescriptor * 
        allow:int * 
        deny:int * 
        merge:bool -> AccessControlEntry
public function SetPermissions(
    descriptor : IdentityDescriptor, 
    allow : int, 
    deny : int, 
    merge : boolean
) : AccessControlEntry

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.AccessControlEntry

.NET Framework Security

See Also

Reference

AccessControlList Class

Microsoft.TeamFoundation.Framework.Client Namespace