Class: MASIdentityManagement

MASIdentityManagement

new MASIdentityManagement()

Source:

Methods

(static) MASPluginGroup#addMemberToGroup(successHandler, errorHandler, groupJSON, arrayOfUsers)

This method supports adding multiple members to a group, hence the developer can pass a JSONArray of user JSON objects
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
groupJSON string JSON of the group to be updated
arrayOfUsers array array of the user objects
Source:

(static) MASPluginGroup#createGroup(successHandler, errorHandler, groupName)

Creates a group with a given name
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
groupName string name of the group to be created
Source:

(static) MASPluginGroup#deleteGroup(successHandler, errorHandler, groupId)

Deletes a group
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
groupId string groupId of the group to be deleted
Source:

(static) MASPluginGroup#getGroupByObjectId(successHandler, errorHandler, objectId)

Retrieves the 'MASPluginGroup' matching the objectId.
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
objectId string object identifier used to locate the group
Source:

(static) MASPluginGroup#getGroupsByFilter(successHandler, errorHandler, filter)

Retrieves the 'MASPluginGroup' objects that matches the 'MASPluginFilteredRequest'
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
filter MASFilteredRequest 'MASPluginFilteredRequest' to the filter results.
Source:

(static) MASPluginGroup#removeMemberFromGroup(successHandler, errorHandler, groupJSON, arrayOfUsers)

This method supports removing multiple members from a group, hence the developer can pass a JSONArray of user JSON objects
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
groupJSON string JSON of the group to be updated
arrayOfUsers array array of the user objects
Source:

(static) MASPluginGroup#updateGroup(successHandler, errorHandler, groupJSON)

Updates a group
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
groupJSON string JSON of the group to be updated
Source:

(static) MASPluginUser.getUserByObjectId(successHandler, errorHandler, objectId)

Retrieves the 'MASPluginUser' that matches the objectId.
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
objectId string object id used to locate the 'MASPluginUser'.
Source:

(static) MASPluginUser.getUsersByFilter(successHandler, errorHandler, filter)

Retrieves the 'MASPluginUser' objects that matches the 'MASPluginFilteredRequest'.
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
filter MASFilteredRequest 'MASPluginFilteredRequest' to filter the results
Source:

(static) MASPluginUser#getThumbnailImage(successHandler, errorHandler)

Retrieves the base64 string of thumbnail image of the 'MASPluginUser'.
Parameters:
Name Type Description
successHandler function user defined success callback
errorHandler function user defined error callback
Source: