Class orion.users.UserService
The user service keeps track of the current Orion user.
Defined in: </shared/eclipse/e4/orion/I201106161115/plugins/org.eclipse.orion.client.core/web/orion/users.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a new user service.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
orion.users.UserService.getUser(onDone)
|
<static> |
orion.users.UserService.setUser(user)
|
Class Detail
orion.users.UserService()
Creates a new user service. A user service should be obtained from
the service registry rather than calling this constructor. This constructor
is intended for service registry initialization code.
Method Detail
<static>
orion.users.UserService.getUser(onDone)
- Parameters:
- onDone
<static>
orion.users.UserService.setUser(user)
- Parameters:
- user