Delen via


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

  • 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

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace