Bagikan melalui


TeamFoundationSecurityNamespace.SetPermissions Method

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

Syntax

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

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntry

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

Microsoft.TeamFoundation.Framework.Server Namespace