|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides methods to manage user.
AMResource
objects can be obtained by using
AMStoreConnection
.
A handle to this object can be obtained by using the DN of the object.
AMStoreConnection amsc = new AMStoreConnection(ssotoken); if (amsc.doesEntryExist(rDN)) { AMResource res = amsc.getResource(rDN); }
Field Summary |
Fields inherited from interface com.iplanet.am.sdk.AMObject |
ACTIVE, ACTIVE_VALUE, ASSIGNABLE_DYNAMIC_GROUP, DELETED, DELETED_VALUE, DYNAMIC_GROUP, FILTERED_ROLE, GROUP, GROUP_CONTAINER, GROUP_PROFILE, INACTIVE, INACTIVE_VALUE, MANAGED_ROLE, ORGANIZATION, ORGANIZATIONAL_UNIT, PEOPLE_CONTAINER, POLICY, RESOURCE, ROLE, ROLE_PROFILE, SERVICE, STATIC_GROUP, TEMPLATE, UNDETERMINED_OBJECT_TYPE, UNKNOWN_OBJECT_TYPE, USER |
Method Summary | |
void |
activate()
Activates the user. |
void |
deactivate()
Deactivates the user. |
boolean |
isActivated()
Returns true if the user is activated. |
Method Detail |
public void activate() throws AMException, SSOException
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer validpublic void deactivate() throws AMException, SSOException
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer validpublic boolean isActivated() throws AMException, SSOException
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |