TeamFoundationVersionControlService.QueryGlobalPermissions Method
Queries the global permissions for the selected identities.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryGlobalPermissions ( _
requestContext As TeamFoundationRequestContext, _
identityNames As String() _
) As GlobalSecurity
public GlobalSecurity QueryGlobalPermissions(
TeamFoundationRequestContext requestContext,
string[] identityNames
)
public:
GlobalSecurity^ QueryGlobalPermissions(
TeamFoundationRequestContext^ requestContext,
array<String^>^ identityNames
)
member QueryGlobalPermissions :
requestContext:TeamFoundationRequestContext *
identityNames:string[] -> GlobalSecurity
public function QueryGlobalPermissions(
requestContext : TeamFoundationRequestContext,
identityNames : String[]
) : GlobalSecurity
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
identityNames
Type: array<System.String[]the user or group names (may be null for all identities).
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.GlobalSecurity
List of the global permissions.
.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.