This documentation is archived and is not being maintained.

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)

public:
virtual int QueryEffectivePermissions(
	String^ token, 
	IdentityDescriptor^ descriptor
) abstract

Parameters

token
Type: System::String

The token that is associated with the AccessControlList to query.

descriptor
Type: Microsoft.TeamFoundation.Framework.Client::IdentityDescriptor

The identity descriptor for which to query permissions.

Return Value

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

Show: