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
声明
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
- 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.