Export (0) Print
Expand All
Expand Minimize

VersionControlServer.GetEffectivePermissions Method

Computes the permissions for a user against a particular item. Applies the allow and deny lists, inheritance, and group membership rules to create a simple list of permissions the user has.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public string[] GetEffectivePermissions (
	string userName,
	string item
)
public String[] GetEffectivePermissions (
	String userName, 
	String item
)
public function GetEffectivePermissions (
	userName : String, 
	item : String
) : String[]

Parameters

userName

Name of user for which to check permissions.

item

The Item to check. This can be a server or a local path.

Return Value

Returns an array of permission names.

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

Community Additions

ADD
Show:
© 2014 Microsoft