This documentation is archived and is not being maintained.
Workspace::HasWorkspacePermission Method
Visual Studio 2013
Verifies whether the AuthorizedUser object has the specified WorkspacePermissions objects for this workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- toCheck
- Type: Microsoft.TeamFoundation.VersionControl.Client::WorkspacePermissions
WorkspacePermissions to check.
Return Value
Type: System::BooleanTrue if the AuthorizedUser object has the requested permissions; otherwise, false.
- 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.
Show: