共用方式為


VersionControlServer.GetGlobalPermissions Method

Gets the global permissions of the selected users in the repository.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function GetGlobalPermissions ( _
    identityNames As String() _
) As GlobalSecurity
public GlobalSecurity GetGlobalPermissions(
    string[] identityNames
)
public:
GlobalSecurity^ GetGlobalPermissions(
    array<String^>^ identityNames
)
member GetGlobalPermissions : 
        identityNames:string[] -> GlobalSecurity
public function GetGlobalPermissions(
    identityNames : String[]
) : GlobalSecurity

Parameters

  • identityNames
    Type: array<System.String[]

    The user or group names (specify null for all identities).

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.GlobalSecurity
The permissions from the repository.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace