Click or drag to resize

SolidFireElementModifyAccount Method (Int64, String, String, CHAPSecret, CHAPSecret, Hashtable, NullableBoolean)

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.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public ModifyAccountResult ModifyAccount(
	long AccountID,
	string Username = null,
	string Status = null,
	CHAPSecret InitiatorSecret = null,
	CHAPSecret TargetSecret = null,
	Hashtable Attributes = null,
	Nullable<bool> EnableChap = null
)

Parameters

AccountID
Type: SystemInt64
Username (Optional)
Type: SystemString
Status (Optional)
Type: SystemString
InitiatorSecret (Optional)
Type: SolidFire.Element.ApiCHAPSecret
TargetSecret (Optional)
Type: SolidFire.Element.ApiCHAPSecret
Attributes (Optional)
Type: System.CollectionsHashtable
EnableChap (Optional)
Type: SystemNullableBoolean

Return Value

Type: ModifyAccountResult

Implements

ISolidFireElementModifyAccount(Int64, String, String, CHAPSecret, CHAPSecret, Hashtable, NullableBoolean)
See Also