SolidFireElementAddAccountAsync 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 public 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:
TaskAddAccountResultImplements
ISolidFireElementAddAccountAsync(CancellationToken, String, CHAPSecret, CHAPSecret, Hashtable, NullableBoolean)See Also