Class ManageNameIDRequest
Represents a manage name ID request.
Inherited Members
Namespace: ComponentSpace.SAML2.Protocols
Assembly: ComponentSpace.Saml2.dll
Syntax
public class ManageNameIDRequest : RequestAbstractType
  Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
ManageNameIDRequest()
Initializes a new instance of the ManageNameIDRequest class.
Declaration
public ManageNameIDRequest()
  ManageNameIDRequest(XmlElement)
Initializes a new instance of the ManageNameIDRequest class from XML.
Declaration
public ManageNameIDRequest(XmlElement xmlElement)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XmlElement | xmlElement | The manage name ID request XML.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| SAMLSerializationException | Thrown when the XML deserialization fails.  | 
      
Properties
EncryptedID
Gets or sets the encrypted ID.
Declaration
public EncryptedID EncryptedID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| EncryptedID | The encrypted ID.  | 
      
NameID
Gets or sets the name ID.
Declaration
public NameID NameID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| NameID | The name ID.  | 
      
NewEncryptedID
Gets or sets the new encrypted ID.
Declaration
public NewEncryptedID NewEncryptedID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| NewEncryptedID | The new encrypted ID.  | 
      
NewID
Gets or sets the new ID.
Declaration
public NewID NewID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| NewID | The new ID.  | 
      
Terminate
Gets or sets the terminate.
Declaration
public Terminate Terminate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Terminate | The terminate.  | 
      
Methods
IsValid(XmlElement)
Indicates whether the XML is a manage name ID request.
Declaration
public static bool IsValid(XmlElement xmlElement)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XmlElement | xmlElement | The XML to test.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
      
ToString()
Converts the manage name ID request to a string.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string | The manage name ID request as a string.  | 
      
Overrides
ToXml()
Serializes the manage name ID request to XML.
Declaration
public XmlElement ToXml()
  Returns
| Type | Description | 
|---|---|
| XmlElement | The manage name ID request as XML.  | 
      
Remarks
An XML document is created.
Exceptions
| Type | Condition | 
|---|---|
| SAMLSerializationException | Thrown when the XML serialization fails.  | 
      
ToXml(XmlDocument)
Serializes the manage name ID request to XML.
Declaration
public XmlElement ToXml(XmlDocument xmlDocument)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XmlDocument | xmlDocument | The owning XML document.  | 
      
Returns
| Type | Description | 
|---|---|
| XmlElement | The manage name ID request as XML.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| SAMLSerializationException | Thrown when the XML serialization fails.  |