Share via


Repository.QueryEffectiveGlobalPermissions Method

Computes the global permissions for a user. Applies the allow and deny lists, inheritance, and group membership rules to produce a simple list of permissions the user has.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryEffectiveGlobalPermissions ( _
    identityName As String _
) As List(Of String)
[WebMethodAttribute]
public List<string> QueryEffectiveGlobalPermissions(
    string identityName
)
[WebMethodAttribute]
public:
List<String^>^ QueryEffectiveGlobalPermissions(
    String^ identityName
)
[<WebMethodAttribute>]
member QueryEffectiveGlobalPermissions : 
        identityName:string -> List<string> 
public function QueryEffectiveGlobalPermissions(
    identityName : String
) : List<String>

Parameters

Return Value

Type: System.Collections.Generic.List<String>
Array of permission names.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace