Types of user accounts
The table below describes the types of user accounts that you can create. The sample application creates a directory user account. For more information about creating user accounts, see
BWS.createUsers()
in the API Reference.The
BWS.createUsers()
API passes a CreateUsersRequest
object in its request. The CreateUsersRequest
object contains the metadata for the request, and NewUser
objects that represent the user accounts that you want to create. NewUser
contains the following properties:
- AccountAttributes: The account attributes that distinguish the user, such as the user's email address.
- DeviceActivationType: Not currently supported.
- UserAttributes: Contains the authentication information for administrator accounts or local user accounts.
- Server: Not currently supported. Should be set to null.
User type | Configuration of NewUser in CreateUsersRequest |
---|---|
Directory user
| AccountAttributes Specify any of the following fields:
DeviceActivationType
UserAttributes
Server
|
Local user
| AccountAttributes
DeviceActivationType
UserAttributes
Server
|
Administrator account
| AccountAttributes Specify any of the following fields:
DeviceActivationType
UserAttributes
Server
|
Administrator account with permissions granted by group membership
| AccountAttributes
DeviceActivationType
UserAttributes
Server
|