Looks up a single user group by ID. Rejects the promise if no group by the provided ID exists.
the user group's ID
a promise to be resolved if the group exists, otherwise a rejection
Looks up one or more User Groups by their User Group Ids. Each returned User Group will contain the details of the User Group, including an array of users ids for those users that are members of the group.
Note: that if any of the provided User Group Ids does not exist, the promise will be rejected.
An array of UserGroup Id's for the groups to get.
A promise resolved with an array of UserGroups that positionally correspond to the supplied User Group Id's.
Looks up the groups to which the provided user belongs.
an existing user's username
a promise to be resolved with an array of group IDs to which the given user belongs
Looks up the groups to which the provided users belong.
an array of usernames
a promise to be resolved with an array of group IDs to which the given user belongs
Returns a promise that resolves with some information about the current user.
a promise to be resolved with the current user's information
Searches for DomainUsers based on the provided query configuration.
a query configuration including the actual query and fields to search on
A promise to be resolved with an array of users, or an empty array if there are no matches
The current session.
Looks up a user by either a username or DomainUserId.
either a username string or DomainUserId
a promise which will be resolved with a DomainUser if one is found,
otherwise undefined
Looks up multiple users at once by username or DomainUserId.
an array of username strings, DomainUserIds, or any combination therein
a promise which will be resolved with an array of length equal to users
,
with a DomainUser or undefined
for each user query
Provides a suite of utilities for looking up users and groups in the current domain.
See some common use cases in the developer guide.
Note that users and groups cannot (yet) be managed through this service. See the REST API for domain user and group management.
This service can be accessed using ConvergenceDomain.identity.