The UserPermissions datatype includes various settings.

Table: UserPermissions

ParameterTypeRequired[a]DefaultDescription
searchDomainSearchDomainyes The search domain (see SearchDomain Table).
queryPrefixstringyes The query prefix.
viewPermissions[Permission]yes The view permissions (see Permission Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.