VersionControlServer.GetPermissions Method

Include Protected Members
Include Inherited Members

Gets the permissions for items in the database.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

GetPermissions(array<String[], RecursionType)

Gets all the permissions for one or more items in the Team Foundation Server database. Permissions are returned not only for the user currently logged onto the server, but for all users and groups who have permissions set for these items. The permissions are returned in a string form for easier user display. It is not possible to parse or union these permissions to find out if a user has permissions set to an item, because a user's permissions depend on what groups they are a member of. You can use the GetEffectivePermissions method to find the permissions that are granted to a user.

Public method

GetPermissions(array<String[], array<String[], RecursionType)

Gets all the permissions for one or more items in the Team Foundation Server database, for the specified users or groups. The permissions are returned in a string form for easier user display. It is not possible to parse or union these permissions to find a user's permissions to an item, because a user's permissions depend on what groups they are a member of. You can use the GetEffectivePermissions method to find permissions that are granted for this user.

Top

See Also

Reference

VersionControlServer Class

VersionControlServer Members

Microsoft.TeamFoundation.VersionControl.Client Namespace