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
token
Type: System.StringThe token that is associated with the AccessControlList to query.
descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptorThe identity descriptor for which to query permissions.
Return Value
Type: System.Int32
The effective allowed permissions for the specified identity descriptor.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.