getService

returns a service available for User Manager

object getService(string service);
service
stringthe service name
objectthe object with the service methods

Example

const data = $$("um").getService("local"); 
  // getting the 'users' collection
  const collection = data.users();

Related samples

Details

Services are major blocks of inner logic of the widget. Their methods can be called directly as well as customized.

User Manager has access to the following services:

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.