Click or drag to resize

ISolidFireElementAddAccountAsync Method (CancellationToken, String, CHAPSecret, CHAPSecret, Hashtable, NullableBoolean)

You can use AddAccount to add a new account to the system. You can create new volumes under the new account. The CHAP settings you specify for the account apply to all volumes owned by the account.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
Task<AddAccountResult> AddAccountAsync(
	CancellationToken cancellationToken,
	string Username,
	CHAPSecret InitiatorSecret = null,
	CHAPSecret TargetSecret = null,
	Hashtable Attributes = null,
	Nullable<bool> EnableChap = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Username
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: TaskAddAccountResult
See Also