Creating a NetApp user with read-only privileges
You can create a NetApp user account with read-only privileges by using OnCommand System Manager or the Data ONTAP command-line interface.
Using OnCommand System Manager Console
1. Log in to OnCommand System Manager as an administrator.

2. Click Configuration > Users > Add to open the user configuration window.

3. In the Add User window:
- Enter the username and password for the new account. The password must be a minimum of 8 characters and must contain both alphabets and numeric characters.
- In the User Login Methods section, click Add and select the following options:
- Application — ontapi
- Authentication — password
- Role — readonly
- Click OK to validate.

- Click Add to save the new user configuration.
4. Use the newly created NetApp user account to create a new RESTful Web API with basic authentication credentials in BMC Discovery.
Using the Data ONTAP command-line interface
1. Log in to the NetApp system through SSH as an administrator.
2. Type the following command:
security login create -user <username> -application ontapi -authentication-method password -role readonly
3. Enter the password that must be a minimum of 8 characters and must contain both alphabets and numeric characters.

4. Use the newly created NetApp user account to create a new RESTful Web API with basic authentication credentials in BMC Discovery.