Parameters

Parameter Type Format Description
UserId New String Guid format The sub user's unique id
UserName String   The sub user's UserName (i.e. the sign-in username)
IsMainUser New Boolean   If true, this user is the main account holder. This can be useful for displaying a list of users in your UI, even though the main account holder isn't technically a sub user.
Name String   The sub user's name
Email String   The sub user's email address
IsAdmin Boolean   Does this sub user have admin privileges, such as managing purchases and sub users
CanResolveSearches Boolean   Can this sub user resolve searches (UpdateSearch) they have access to
CanDeleteSearches Boolean   Can this sub user delete searches (DeleteSearch) they have access to
Permissions Array<string>   The list of usernames of other sub-users that this sub-user has permission to access. If a username is listed here, this sub user will have permission to access the searches performed by the specified user. If this is empty, the sub user only has access to their own searches.