This documentation is archived and is not being maintained.
SecurityNamespace::QueryEffectivePermissions Method
Visual Studio 2013
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::Int32The effective allowed permissions for the specified identity descriptor.
- 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.
Show: