Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the global permissions of a user.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetEffectiveGlobalPermissions ( _
    userName As String _
) As String()
public string[] GetEffectiveGlobalPermissions(
    string userName
)
public:
array<String^>^ GetEffectiveGlobalPermissions(
    String^ userName
)
member GetEffectiveGlobalPermissions : 
        userName:string -> string[] 
public function GetEffectiveGlobalPermissions(
    userName : String
) : String[]
Parameters
userName
Type: System.StringName of user to check.
Return Value
Type: array<System.String[]
Array of permission names.
Remarks
Applies the allow and deny lists, inheritance, and group membership rules to come up with a simple list of permissions the user has.
.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.