SecurityNamespaceDescription Constructor
Initializes a new instance of the SecurityNamespaceDescription class.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Déclaration
Public Sub New ( _
namespaceId As Guid, _
name As String, _
displayName As String, _
databaseCategory As String, _
separatorValue As Char, _
elementLength As Integer, _
structure As SecurityNamespaceStructure, _
writePermission As Integer, _
readPermission As Integer, _
actions As IEnumerable(Of ActionDefinition) _
)
public SecurityNamespaceDescription(
Guid namespaceId,
string name,
string displayName,
string databaseCategory,
char separatorValue,
int elementLength,
SecurityNamespaceStructure structure,
int writePermission,
int readPermission,
IEnumerable<ActionDefinition> actions
)
public:
SecurityNamespaceDescription(
Guid namespaceId,
String^ name,
String^ displayName,
String^ databaseCategory,
wchar_t separatorValue,
int elementLength,
SecurityNamespaceStructure structure,
int writePermission,
int readPermission,
IEnumerable<ActionDefinition^>^ actions
)
new :
namespaceId:Guid *
name:string *
displayName:string *
databaseCategory:string *
separatorValue:char *
elementLength:int *
structure:SecurityNamespaceStructure *
writePermission:int *
readPermission:int *
actions:IEnumerable<ActionDefinition> -> SecurityNamespaceDescription
public function SecurityNamespaceDescription(
namespaceId : Guid,
name : String,
displayName : String,
databaseCategory : String,
separatorValue : char,
elementLength : int,
structure : SecurityNamespaceStructure,
writePermission : int,
readPermission : int,
actions : IEnumerable<ActionDefinition>
)
Parameters
- namespaceId
Type: System.Guid
The SecurityNamespaceGuid.
- name
Type: System.String
The nonlocalized name for the SecurityNamespace.
- displayName
Type: System.String
The localized display name for the SecurityNamespace.
- databaseCategory
Type: System.String
The database category that describes where the security information for this SecurityNamespace should be stored.
- separatorValue
Type: System.Char
Specifies the character that separates security tokens. Specify null for no separator.
- elementLength
Type: System.Int32
Specifies the character length of security tokens in this namespace. Specify -1 if security token character length varies.
- structure
Type: Microsoft.TeamFoundation.Framework.Common.SecurityNamespaceStructure
The structure that this SecurityNamespace will use to organize its tokens.
- writePermission
Type: System.Int32
The permission bits that are required by a user in order to modify security data in this SecurityNamespace.
- readPermission
Type: System.Int32
The permission bits that are required by a user in order to read security data in this SecurityNamespace.
- actions
Type: System.Collections.Generic.IEnumerable<ActionDefinition>
The list of actions that this SecurityNamespace is responsible for securing.
.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.