Home Manual Reference Source
import {Userdir} from 'zetapush-js/src/mapping/services.js'
public class | source

Userdir

Extends:

src/mapping/core.js~Service → Userdir

User API for user information

Static Member Summary

Static Public Members
public static get

Get default deployment id associated to Userdir service

Method Summary

Public Methods
public

search(objectPattern: {"requestId": *, "query": *, "page": *}): *

Searches for users matching the request

public

userInfo(objectPattern: {"userKeys": *}): *

Requests public data for the specified users

Static Public Members

public static get DEFAULT_DEPLOYMENT_ID: string: string source

Get default deployment id associated to Userdir service

Return:

string

Public Methods

Searches for users matching the request

Params:

NameTypeAttributeDescription
objectPattern {"requestId": *, "query": *, "page": *}
  • default: {"requestId":null,"query":null,"page":null}

Return:

*

public userInfo(objectPattern: {"userKeys": *}): * source

Requests public data for the specified users

Params:

NameTypeAttributeDescription
objectPattern {"userKeys": *}
  • default: {"userKeys":null}

Return:

*