Megosztás a következőn keresztül:


Workspace.HasAdministerPermission Property

Gets a flag that indicates whether the AuthorizedUser has Administer permissions for this workspace.

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

Syntax

'Declaration
Public ReadOnly Property HasAdministerPermission As Boolean
public bool HasAdministerPermission { get; }
public:
property bool HasAdministerPermission {
    bool get ();
}
member HasAdministerPermission : bool with get
function get HasAdministerPermission () : boolean

Property Value

Type: System.Boolean
True if the AuthorizedUser has Administer permissions for this workspace; otherwise, false.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace