Поделиться через


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.Guid

    The ID that uniquely identifies the security namespace.

  • name
    Type: System.String

    The non-localized name for the security namespace that will be used for things like the command-line.

  • displayName
    Type: System.String

    The localized display name for the security namespace.

  • databaseCategory
    Type: System.String

    This is the database category that describes where the security information for this security namespace should be stored.

  • separatorValue
    Type: System.Char

    If 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.Int32

    If 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.

  • writePermission
    Type: System.Int32

    The permission bits needed by a user in order to modify security data in this security namespace.

  • readPermission
    Type: System.Int32

    The permission bits needed by a user in order to read security data in this security namespace.

.NET Framework Security

See Also

Reference

SecurityNamespaceDescription Class

SecurityNamespaceDescription Overload

Microsoft.TeamFoundation.Framework.Server Namespace