Click or drag to resize

ModifyAccountRequest Class

ModifyAccountRequest ModifyAccount enables you to modify an existing account. When you lock an account, any existing connections from that account are immediately terminated. When you change an account's CHAP settings, any existing connections remain active, and the new CHAP settings are used on subsequent connections or reconnections. To clear an account's attributes, specify {} for the attributes parameter.
Inheritance Hierarchy
SystemObject
  SolidFire.CoreRpcBase
    SolidFire.Element.ApiModifyAccountRequest

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public class ModifyAccountRequest : RpcBase, 
	IAccountRequest

The ModifyAccountRequest type exposes the following members.

Constructors
  NameDescription
Public methodModifyAccountRequest
Initializes a new instance of the ModifyAccountRequest class
Top
Properties
  NameDescription
Public propertyAccountID
Specifies the AccountID for the account to be modified.
Public propertyAttributes
List of name-value pairs in JSON object format.
Public propertyEnableChap
Specify if chap account credentials can be used by an initiator to access volumes.
Public propertyInitiatorSecret
The CHAP secret to use for the initiator.
Public propertyStatus
Sets the status for the account. Possible values are: active: The account is active and connections are allowed. locked: The account is locked and connections are refused.
Public propertyTargetSecret
The CHAP secret to use for the target (mutual CHAP authentication).
Public propertyUsername
Specifies the username associated with the account. (Might be 1 to 64 characters in length).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Builds a json-enabled string of all the properties and their values in this class.
(Inherited from RpcBase.)
Top
See Also