The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
A newer release of this product is available.
GetAccountByName
-
PDF of this doc site
-
Manage storage with Element software
-
Protect your data
-
Perform replication between NetApp Element software and ONTAP (ONTAP CLI)
-
-
-

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
You can use GetAccountByName
to get details about a specific account, given its username.
Parameters
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
username |
User name for the account. |
string |
None |
Yes |
Return value
This method has the following return value:
Name | Description | Type |
---|---|---|
account |
Account details. |
Request example
Requests for this method are similar to the following example:
{ "method": "GetAccountByName", "params": { "username" : "jimmyd" }, "id" : 1 }
Response example
This method returns a response similar to the following example:
{ "account": { "attributes": {}, "username": "jimmyd", "targetSecret": "targetsecret", "volumes": [], "enableChap": true, "status": "active", "accountID": 1, "storageContainerID": "abcdef01-1234-5678-90ab-cdef01234567", "initiatorSecret": "initiatorsecret" } }
New since version
9.6