Megosztás a következőn keresztül:


SecurityNamespace.QueryEffectivePermissions Method

Gets the effective permissions for the specified identity descriptor.

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

Syntax

'Declaration
Public MustOverride Function QueryEffectivePermissions ( _
    token As String, _
    descriptor As IdentityDescriptor _
) As Integer
public abstract int QueryEffectivePermissions(
    string token,
    IdentityDescriptor descriptor
)
public:
virtual int QueryEffectivePermissions(
    String^ token, 
    IdentityDescriptor^ descriptor
) abstract
abstract QueryEffectivePermissions : 
        token:string * 
        descriptor:IdentityDescriptor -> int
public abstract function QueryEffectivePermissions(
    token : String, 
    descriptor : IdentityDescriptor
) : int

Parameters

Return Value

Type: System.Int32
The effective allowed permissions for the specified identity descriptor.

.NET Framework Security

See Also

Reference

SecurityNamespace Class

Microsoft.TeamFoundation.Framework.Client Namespace