VersionControlServer.GetEffectiveGlobalPermissions Method

Gets the global permissions of a user.

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

public string[] GetEffectiveGlobalPermissions(
	string userName
)

Parameters

userName
Type: System.String

Name of user to check.

Return Value

Type: System.String[]
Array of permission names.

Applies the allow and deny lists, inheritance, and group membership rules to come up with a simple list of permissions the user has.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft