Class orion.profile.usersClient.UsersClient
The user service keeps track of the current Orion user.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.users/web/orion/profile/usersClient.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a new user service.
|
Method Attributes | Method Name and Description |
---|---|
createUser(userInfo, onLoad, onError)
|
|
deleteUser(userURI, onLoad)
|
|
fire(action, url, jsonData)
|
|
getUserInfo(userURI, onLoad)
|
|
getUsersList(onLoad)
|
|
getUsersListSubset(start, rows, onLoad)
|
|
initProfile(userURI, pluginsEventName, dataEventName)
|
|
resetUserPassword(login, password, onLoad)
|
|
updateUserInfo(userUri, data, onLoad)
|
Class Detail
orion.profile.usersClient.UsersClient()
Creates a new user service. A user service should be obtained by getting
the orion.core.users service from the service registry rather than
calling this constructor. This constructor is intended for service registry
initialization code.
Method Detail
createUser(userInfo, onLoad, onError)
- Parameters:
- userInfo
- onLoad
- onError
deleteUser(userURI, onLoad)
- Parameters:
- userURI
- onLoad
fire(action, url, jsonData)
- Parameters:
- action
- url
- jsonData
getDivContent()
getUserInfo(userURI, onLoad)
- Parameters:
- userURI
- onLoad
getUsersList(onLoad)
- Parameters:
- onLoad
getUsersListSubset(start, rows, onLoad)
- Parameters:
- start
- rows
- onLoad
initProfile(userURI, pluginsEventName, dataEventName)
- Parameters:
- userURI
- pluginsEventName
- dataEventName
resetUserPassword(login, password, onLoad)
- Parameters:
- login
- password
- onLoad
updateUserInfo(userUri, data, onLoad)
- Parameters:
- userUri
- data
- onLoad