This documentation is archived and is not being maintained.

VersionControlServer.GetEffectivePermissions Method

Gets the permissions of a user for a particular Item.

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

Public Function GetEffectivePermissions ( _
	userName As String, _
	item As String _
) As String()


Type: System.String

Name of user to check.

Type: System.String

The path to the Item to check (server or local path).

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.