WorkspacePermissionProfile Constructor
Creates a new workspace permission profile that has the specified array of access control entries.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Sub New ( _
profileName As String, _
accessControlEntries As AccessControlEntry() _
)
public WorkspacePermissionProfile(
string profileName,
AccessControlEntry[] accessControlEntries
)
public:
WorkspacePermissionProfile(
String^ profileName,
array<AccessControlEntry^>^ accessControlEntries
)
new :
profileName:string *
accessControlEntries:AccessControlEntry[] -> WorkspacePermissionProfile
public function WorkspacePermissionProfile(
profileName : String,
accessControlEntries : AccessControlEntry[]
)
Parameters
- profileName
Type: System.String
The profile name.
- accessControlEntries
Type: array<Microsoft.TeamFoundation.Framework.Client.AccessControlEntry[]
Array of access control entries that represents the permissions for the workspace.
.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.