Optionalfilter: string
CREST query filter on the AM user attributes, e.g. username sw "a". Default: all users.
exact count when supported by the backing API. AM stops counting at the maximum results of the realm's data store (1000 by default), so a count of exactly that size means "at least".
Create an empty user group export template
an empty user group export template
Export a single user by id. The response can be saved to file as is.
User id
Promise resolving to a UserExportInterface object.
Export a single user group by id. The response can be saved to file as is.
Group id
Promise resolving to a UserGroupExportInterface object.
Export all user groups. The response can be saved to file as is.
Promise resolving to a UserGroupExportInterface object.
Export all users. The response can be saved to file as is.
Promise resolving to a UserExportInterface object.
Import user groups
user group import data
OptionalgroupId: string
Optional user group id. If supplied, only the group of that id is imported.
the imported user groups
Import users and their config
user import data
OptionaluserId: string
Optional user id. If supplied, only the user of that id is imported.
the imported users
Read user by id
User id
a promise that resolves to a user object
Read user group by id
Group id
a promise that resolves to a user group object
Read all user groups.
a promise that resolves to an array of user group objects
Read the users of the active realm, all of them or those matching a filter.
Optionalfilter: string
CREST query filter on the AM user attributes, e.g. username sw "a" or sn sw "a". Default: all users.
Optionalfields: string[]
attributes to return, e.g. ['username', 'givenName', 'sn', 'mail']. Default: the attributes AM returns by default.
a promise that resolves to an array of user objects. AM returns at most the maximum results of the realm's data store (1000 by default), so a list of exactly that size may be cut short: narrow it with a filter.
Count the users of the active realm, all of them or those matching a filter.