|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserApi
Provides synchronous access to User objects.
UserAsyncApi| Method Summary | |
|---|---|
User |
addUserToOrg(User user,
String orgUrn)
Creates or imports a user in an organization. |
User |
addUserToOrg(User user,
URI orgAdminHref)
|
User |
edit(String userUrn,
User user)
Modifies a user. |
User |
edit(URI userHref,
User user)
|
User |
get(String userUrn)
Retrieves a user. |
User |
get(URI userHref)
|
void |
remove(String userUrn)
Deletes a user. |
void |
remove(URI userHref)
|
void |
unlock(String userUrn)
Unlocks a user. |
void |
unlock(URI userHref)
|
| Method Detail |
|---|
User addUserToOrg(User user,
String orgUrn)
POST /admin/org/{id}/users
orgUrn - the urn for the org
User addUserToOrg(User user,
URI orgAdminHref)
User get(String userUrn)
GET /admin/user/{id}
userUrn - the reference for the user
User get(URI userHref)
User edit(String userUrn,
User user)
PUT /admin/user/{id}
userUrn - the reference for the user
User edit(URI userHref,
User user)
void remove(String userUrn)
DELETE /admin/catalog/{id}
void remove(URI userHref)
void unlock(String userUrn)
POST /admin/user/{id}/action/unlock
void unlock(URI userHref)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||