Class orion.profile.usersClient.UsersClient
The user service keeps track of the current Orion user.
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.users.ui/web/orion/profile/usersClient.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a new user service.
|
Method Attributes | Method Name and Description |
---|---|
createUser(userName, password, onLoad, onError)
|
|
deleteUser(userURI, onLoad)
|
|
fire(action, url, jsonData)
|
|
getUserInfo(userURI, onLoad)
|
|
getUsersList(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(userName, password, onLoad, onError)
- Parameters:
- userName
- password
- 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
initProfile(userURI, pluginsEventName, dataEventName)
- Parameters:
- userURI
- pluginsEventName
- dataEventName
resetUserPassword(login, password, onLoad)
- Parameters:
- login
- password
- onLoad
updateUserInfo(userUri, data, onLoad)
- Parameters:
- userUri
- data
- onLoad