TeamFoundationSecurityNamespace.QueryEffectivePermissions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryEffectivePermissions ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
descriptor As IdentityDescriptor _
) As Integer
public int QueryEffectivePermissions(
TeamFoundationRequestContext requestContext,
string token,
IdentityDescriptor descriptor
)
public:
int QueryEffectivePermissions(
TeamFoundationRequestContext^ requestContext,
String^ token,
IdentityDescriptor^ descriptor
)
member QueryEffectivePermissions :
requestContext:TeamFoundationRequestContext *
token:string *
descriptor:IdentityDescriptor -> int
public function QueryEffectivePermissions(
requestContext : TeamFoundationRequestContext,
token : String,
descriptor : IdentityDescriptor
) : int
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Return Value
Type: System.Int32
.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.