SecurityNamespaceDescription Constructor (Guid, String, String, String, Char, Int32, SecurityNamespaceStructure, Int32, Int32, List<ActionDefinition>)
Creates a SecurityNamespaceDescription that can be used to create a security namespace.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
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 List(Of ActionDefinition) _
)
public SecurityNamespaceDescription(
Guid namespaceId,
string name,
string displayName,
string databaseCategory,
char separatorValue,
int elementLength,
SecurityNamespaceStructure structure,
int writePermission,
int readPermission,
List<ActionDefinition> actions
)
public:
SecurityNamespaceDescription(
Guid namespaceId,
String^ name,
String^ displayName,
String^ databaseCategory,
wchar_t separatorValue,
int elementLength,
SecurityNamespaceStructure structure,
int writePermission,
int readPermission,
List<ActionDefinition^>^ actions
)
new :
namespaceId:Guid *
name:string *
displayName:string *
databaseCategory:string *
separatorValue:char *
elementLength:int *
structure:SecurityNamespaceStructure *
writePermission:int *
readPermission:int *
actions:List<ActionDefinition> -> SecurityNamespaceDescription
public function SecurityNamespaceDescription(
namespaceId : Guid,
name : String,
displayName : String,
databaseCategory : String,
separatorValue : char,
elementLength : int,
structure : SecurityNamespaceStructure,
writePermission : int,
readPermission : int,
actions : List<ActionDefinition>
)
Parameters
namespaceId
Type: System.GuidThe ID that uniquely identifies the security namespace.
name
Type: System.StringThe non-localized name for the security namespace that will be used for things like the command-line.
displayName
Type: System.StringThe localized display name for the security namespace.
databaseCategory
Type: System.StringThis is the database category that describes where the security information for this security namespace should be stored.
separatorValue
Type: System.CharIf the security tokens this namespace will be operating on must be split on certain characters to determine its elements, that character should be specified here. If not, this value must be the null character.
elementLength
Type: System.Int32If the security tokens this namespace will be operating on must be split on certain character lengths to determine its elements, that length should be specified here. If not, this value must be -1.
structure
Type: Microsoft.TeamFoundation.Framework.Common.SecurityNamespaceStructureThe structure that this security namespace will use to organize its tokens.
writePermission
Type: System.Int32The permission bits needed by a user in order to modify security data in this security namespace.
readPermission
Type: System.Int32The permission bits needed by a user in order to read security data in this security namespace.
actions
Type: System.Collections.Generic.List<ActionDefinition>The list of actions that this security namespace 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.
See Also
Reference
SecurityNamespaceDescription Class