addRoleToUser ( userObj: Object, roleObj: Object)

Parameters
Name Type Description
userObj Object
roleObj Object

createTenant ( options: Map, currentUser: User ) { Tenant }

Parameters
Name Type Description
options Map
currentUser User

createTenant ( options: Map) { Tenant }

Parameters
Name Type Description
options Map

createUser ( options: Map, user: User ) { boolean }

Parameters
Name Type Description
options Map
user User

createUser ( options: Map) { boolean }

Parameters
Name Type Description
options Map

getUserRoles ( userObj: Object) { Role[] }

Parameters
Name Type Description
userObj Object

getUsersWithRole ( roleObj: Object) { User[] }

Parameters
Name Type Description
roleObj Object

provisionUser ( options: Map, user: User ) { User }

Parameters
Name Type Description
options Map
Properties
Name Type Description
name String
firstname String
lastname String
phonenumber String
applications Object
user User

provisionUser ( options: Map) { User }

Parameters
Name Type Description
options Map
Properties
Name Type Description
name String
firstname String
lastname String
phonenumber String
applications Object

removeRoleFromUser ( userObj: Object, roleObj: Object)

Parameters
Name Type Description
userObj Object
roleObj Object

subscribeUser ( user: User , roles: Object)

Parameters
Name Type Description
user User
roles Object