Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Function GetEffectivePermissions ( _
userName As String, _
item As String _
) As String()
public string[] GetEffectivePermissions(
string userName,
string item
)
public:
array<String^>^ GetEffectivePermissions(
String^ userName,
String^ item
)
member GetEffectivePermissions :
userName:string *
item:string -> string[]
public function GetEffectivePermissions(
userName : String,
item : String
) : String[]
Parameters
- userName
Type: System.String
Name of user to check.
- item
Type: System.String
The path to the Item to check (server or local path).
Return Value
Type: array<System.String[]
Array of permission names.
Remarks
Applies the allow and deny lists, inheritance, and group membership rules to come up with a simple list of permissions the user has.
.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.