Class: Users

Users

new Users(endPoint)

Manage Users
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

add(token_type, access_token, userOptions) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
userOptions JSON [user options]
Source:
Returns:
[return a JSON response]
Type
JSON

associateOrganization(token_type, access_token, user_guid, org_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
user_guid String [user guid]
org_guid String [space guid]
Source:
Returns:
[return a JSON response]
Type
JSON

associateSpace(token_type, access_token, user_guid, space_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
user_guid String [user guid]
space_guid String [space guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getUsers(token_type, access_token) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
Source:
Returns:
[return a JSON response]
Type
JSON

remove(token_type, access_token, user_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
user_guid String [user guid]
Source:
Returns:
[return a JSON response]
Type
JSON

setEndPoint(endPoint)

Set endpoint
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source: