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


SecurityNamespaceDescription Class

Class for describing the details of a TeamFoundationSecurityNamespace.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.SecurityNamespaceDescription

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<CallOnSerializationAttribute("PrepareForWebServiceSerialization")> _
<CallOnDeserializationAttribute("InitializeFromWebServiceDeserialization")> _
Public Class SecurityNamespaceDescription
[CallOnSerializationAttribute("PrepareForWebServiceSerialization")]
[CallOnDeserializationAttribute("InitializeFromWebServiceDeserialization")]
public class SecurityNamespaceDescription
[CallOnSerializationAttribute(L"PrepareForWebServiceSerialization")]
[CallOnDeserializationAttribute(L"InitializeFromWebServiceDeserialization")]
public ref class SecurityNamespaceDescription
[<CallOnSerializationAttribute("PrepareForWebServiceSerialization")>]
[<CallOnDeserializationAttribute("InitializeFromWebServiceDeserialization")>]
type SecurityNamespaceDescription =  class end
public class SecurityNamespaceDescription

The SecurityNamespaceDescription type exposes the following members.

Constructors

  Name Description
Public method SecurityNamespaceDescription() Creates an instance of this object. This constructor is needed for the web service.
Public method SecurityNamespaceDescription(Guid, String, String, String, Char, Int32, SecurityNamespaceStructure, Int32, Int32, List<ActionDefinition>) Creates a SecurityNamespaceDescription that can be used to create a security namespace.

Top

Properties

  Name Description
Public property Actions The list of actions that this security namespace is responsible for securing.
Public property DatabaseCategory This is the database category that describes where the security information for this security namespace should be stored.
Public property DisplayName The localized name for this namespace.
Public property ElementLength
Public property ExtensionType This is the type of the extension that should be loaded from the plug-ins directory for extending this security namespace.
Public property Name The non-localized name for this namespace.
Public property NamespaceId The unique identifier for this namespace.
Public property NamespaceStructure The structure that this namespace uses to organize its access control lists. Note that if this is set to hierarchical, either the ElementLength property or SeparatorChars property must be set.
Public property ReadPermission The permission bits needed by a user in order to read security data on the security namespace.
Public property SeparatorValue If the security tokens this namespace will be operating on must be split on certain characters to determine its elements, those characters should be specified here. If not, this value will be the null character.
Public property StructureValue Used to send information about the structure of the security namespace over the web service.
Public property WritePermission The permission bits needed by a user in order to modify security data on the security namespace.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLocalizedActions Gets the localized actions for the permission bits.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace