Click or drag to resize

SolidFireElementModifyAccountAsync Method (CancellationToken, 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 Task<ModifyAccountResult> ModifyAccountAsync(
	CancellationToken cancellationToken,
	long AccountID,
	string Username = null,
	string Status = null,
	CHAPSecret InitiatorSecret = null,
	CHAPSecret TargetSecret = null,
	Hashtable Attributes = null,
	Nullable<bool> EnableChap = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
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: TaskModifyAccountResult

Implements

ISolidFireElementModifyAccountAsync(CancellationToken, Int64, String, String, CHAPSecret, CHAPSecret, Hashtable, NullableBoolean)
See Also