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
identityName
Type: System.StringUser to query permissions of.
Return Value
Type: System.Collections.Generic.List<String>
Array of permission names.
.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.