com.iplanet.am.sdk
インタフェース AMUser

すべてのスーパーインタフェース:
AMConstants, AMObject

推奨されていません。 As of Sun Java System Access Manager 7.1.

public interface AMUser
extends AMObject

This interface provides methods to manage user. AMUser 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(uDN)) { AMUser user = amsc.getUser(uDN); }
 


フィールドの概要
 
インタフェース 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
 
インタフェース com.iplanet.am.sdk.AMConstants から継承されたフィールド
ADD_MEMBER, ADMIN_GROUPS_ENABLED_ATTR, ADMIN_ROLE_ATTR, ADMINISTRATION_SERVICE, CACHE_ENABLED_DISABLED_KEY, CACHE_MAX_SIZE_KEY, COMPLIANCE_SPECIAL_FILTER_ATTR, COMPLIANCE_USER_DELETION_ATTR, CONTAINER_DEFAULT_TEMPLATE_ROLE, CONTAINER_SUPPORTED_TYPES_ATTRIBUTE, DCT_ATTRIBUTE_LIST_ATTR, DCT_ENABLED_ATTR, DOMAIN_ADMINISTRATORS, DOMAIN_HELP_DESK_ADMINISTRATORS, EMAIL_ATTRIBUTE, FILTER_ATTR_NAME, INET_ADMIN_OBJECT_CLASS, INET_DOMAIN_STATUS_ATTR, INET_DOMAIN_STATUS_ATTRIBUTE, INVALID_USERID_CHARACTERS, OTHER_COSATTR_TYPE, POLICY_COSATTR_TYPE, POLICY_SUFFIX, PRE_POST_PROCESSING_MODULES_ATTR, REMOVE_ATTRIBUTE, REMOVE_MEMBER, REQUIRED_SERVICES_ATTR, ROLE_MANAGED_CONTAINER_DN_ATTRIBUTE, SCOPE_BASE, SCOPE_ONE, SCOPE_SUB, SERVICE_STATUS_ATTRIBUTE, STATIC_GROUP_DN_ATTRIBUTE, SUBSCRIBABLE_ATTRIBUTE, UNIQUE_ATTRIBUTE_LIST_ATTRIBUTE, UNIQUE_MEMBER_ATTRIBUTE, USER_CREATE_NOTIFICATION_LIST, USER_DELETE_NOTIFICATION_LIST, USER_ENCRYPTED_PASSWORD_ATTRIBUTE, USER_ENTRY_PROCESSING_IMPL, USER_MODIFY_NOTIFICATION_LIST, USER_PASSWORD_ATTRIBUTE, USER_SEARCH_RETURN_ATTR, USERID_PASSWORD_VALIDATION_CLASS
 
メソッドの概要
 void activate()
          推奨されていません。 Activates the user.
 void assignAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
          推奨されていません。 Assigns a assignable dynamic group to the user.
 void assignAssignableDynamicGroup(String assignableDynamicGroupDN)
          推奨されていません。 Assigns a assignable dynamic group to the user.
 void assignRole(AMRole role)
          推奨されていません。 Assigns a role to the user.
 void assignRole(String roleDN)
          推奨されていません。 Assigns a role to the user.
 void assignServices(Set serviceNames)
          推奨されていません。 Assigns services to the user.
 void assignStaticGroup(AMStaticGroup group)
          推奨されていません。 Assigns a static group to the user.
 void assignStaticGroup(String groupDN)
          推奨されていません。 Assigns a static group to the user.
 void deactivate()
          推奨されていません。 Deactivates the user.
 Set getAllRoleDNs()
          推奨されていません。 Gets all the static and filtered roles the user is in.
 Set getAssignableDynamicGroupDNs()
          推奨されていません。 Gets all the assignable dynamic groups the user is in.
 Set getAssignedServices()
          推奨されていません。 Gets all service names that are assigned to the user.
 Set getFilteredRoleDNs()
          推奨されていません。 Gets all the filtered roles the user is in.
 Set getRoleDNs()
          推奨されていません。 Gets all the static roles the user is in.
 Set getStaticGroupDNs()
          推奨されていません。 Gets all the static groups the user is in.
 boolean isActivated()
          推奨されていません。 Returns true if the user is activated.
 void removeAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
          推奨されていません。 Removes a assignable dynamic group that is assigned to the user.
 void removeAssignableDynamicGroup(String assignableDynamicGroupDN)
          推奨されていません。 Removes a assignable dynamic group that is assigned to the user.
 void removeRole(AMRole role)
          推奨されていません。 Removes a role that is assigned to the user.
 void removeRole(String roleDN)
          推奨されていません。 Removes a role that is assigned to the user.
 void removeStaticGroup(AMStaticGroup group)
          推奨されていません。 Removes a static group that is assigned to the user.
 void removeStaticGroup(String groupDN)
          推奨されていません。 Removes a static group that is assigned to the user.
 String rename(String newName, boolean deleteOldName)
          推奨されていません。 Renames the user name (ie., naming attribute of user entry) in the data store.
 
インタフェース com.iplanet.am.sdk.AMObject から継承されたメソッド
addEventListener, assignPolicies, assignServices, createPolicyTemplate, createPolicyTemplate, createTemplate, createTemplate, delete, delete, getAttribute, getAttributeByteArray, getAttributes, getAttributes, getAttributesByteArray, getAttributesByteArray, getAttributesFromDataStore, getAttributesFromDataStore, getDN, getOrganizationDN, getParentDN, getPolicy, getPolicyTemplate, getServiceAttributes, getServiceStatus, getStringAttribute, getTemplate, isExists, modifyService, purge, removeAttributes, removeEventListener, search, setAttributeByteArray, setAttributes, setAttributesByteArray, setServiceStatus, setStringAttribute, store, store, unassignPolicies, unassignServices
 

メソッドの詳細

rename

String rename(String newName,
              boolean deleteOldName)
              throws AMException,
                     SSOException
推奨されていません。 
Renames the user name (ie., naming attribute of user entry) in the data store.

Note: This operation directly commits the the user name changes to the data store. However, it does not save the modified/added attributes. For saving them explicitly to the data store, use store() method to save the attributes.

パラメータ:
newName - The new user name
deleteOldName - if true deletes the old name, otherwise retains the old name.
戻り値:
the new DN value for the user
例外:
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.

getFilteredRoleDNs

Set getFilteredRoleDNs()
                       throws AMException,
                              SSOException
推奨されていません。 
Gets all the filtered roles the user is in.

戻り値:
The Set of filtered role DN's the user is in.
例外:
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.

getRoleDNs

Set getRoleDNs()
               throws AMException,
                      SSOException
推奨されていません。 
Gets all the static roles the user is in.

戻り値:
The Set of static role DN's the user is in.
例外:
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.

getAllRoleDNs

Set getAllRoleDNs()
                  throws AMException,
                         SSOException
推奨されていません。 
Gets all the static and filtered roles the user is in.

戻り値:
The Set of static and filtered role DN's the user is in.
例外:
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.

assignRole

void assignRole(AMRole role)
                throws AMException,
                       SSOException
推奨されていません。 
Assigns a role to the user.

パラメータ:
role - The Role that the user is assigned to.
例外:
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.

assignRole

void assignRole(String roleDN)
                throws AMException,
                       SSOException
推奨されていません。 
Assigns a role to the user.

パラメータ:
roleDN - The role DN that the user is assigned to.
例外:
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.

removeRole

void removeRole(AMRole role)
                throws AMException,
                       SSOException
推奨されていません。 
Removes a role that is assigned to the user.

パラメータ:
role - The Role that the user is assigned to.
例外:
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.

removeRole

void removeRole(String roleDN)
                throws AMException,
                       SSOException
推奨されていません。 
Removes a role that is assigned to the user.

パラメータ:
roleDN - The role DN that the user is assigned to.
例外:
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.

getStaticGroupDNs

Set getStaticGroupDNs()
                      throws AMException,
                             SSOException
推奨されていません。 
Gets all the static groups the user is in.

戻り値:
The Set of static group DN's the user is in.
例外:
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.

assignStaticGroup

void assignStaticGroup(AMStaticGroup group)
                       throws AMException,
                              SSOException
推奨されていません。 
Assigns a static group to the user.

パラメータ:
group - The static group that the user is assigned to.
例外:
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.

assignStaticGroup

void assignStaticGroup(String groupDN)
                       throws AMException,
                              SSOException
推奨されていません。 
Assigns a static group to the user.

パラメータ:
groupDN - The static group DN that the user is assigned to.
例外:
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.

removeStaticGroup

void removeStaticGroup(AMStaticGroup group)
                       throws AMException,
                              SSOException
推奨されていません。 
Removes a static group that is assigned to the user.

パラメータ:
group - The static group that the user is assigned to.
例外:
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.

removeStaticGroup

void removeStaticGroup(String groupDN)
                       throws AMException,
                              SSOException
推奨されていません。 
Removes a static group that is assigned to the user.

パラメータ:
groupDN - The static group DN that the user is assigned to.
例外:
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.

getAssignableDynamicGroupDNs

Set getAssignableDynamicGroupDNs()
                                 throws AMException,
                                        SSOException
推奨されていません。 
Gets all the assignable dynamic groups the user is in.

戻り値:
The Set of assignable dynamic group DN's the user is in.
例外:
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.

assignAssignableDynamicGroup

void assignAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
                                  throws AMException,
                                         SSOException
推奨されていません。 
Assigns a assignable dynamic group to the user.

パラメータ:
assignableDynamicGroup - The assignable dynamic group that the user is assigned to.
例外:
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.

assignAssignableDynamicGroup

void assignAssignableDynamicGroup(String assignableDynamicGroupDN)
                                  throws AMException,
                                         SSOException
推奨されていません。 
Assigns a assignable dynamic group to the user.

パラメータ:
assignableDynamicGroupDN - The assignable dynamic group DN that the user is assigned to.
例外:
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.

removeAssignableDynamicGroup

void removeAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
                                  throws AMException,
                                         SSOException
推奨されていません。 
Removes a assignable dynamic group that is assigned to the user.

パラメータ:
assignableDynamicGroup - The assignable dynamic group that the user is assigned to.
例外:
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.

removeAssignableDynamicGroup

void removeAssignableDynamicGroup(String assignableDynamicGroupDN)
                                  throws AMException,
                                         SSOException
推奨されていません。 
Removes a assignable dynamic group that is assigned to the user.

パラメータ:
assignableDynamicGroupDN - The assignable dynamic group DN that the user is assigned to.
例外:
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.

activate

void activate()
              throws AMException,
                     SSOException
推奨されていません。 
Activates the user.

例外:
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.

deactivate

void deactivate()
                throws AMException,
                       SSOException
推奨されていません。 
Deactivates the user.

例外:
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.

isActivated

boolean isActivated()
                    throws AMException,
                           SSOException
推奨されていません。 
Returns true if the user is activated.

戻り値:
true if the user is activated.
例外:
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.

getAssignedServices

Set getAssignedServices()
                        throws AMException,
                               SSOException
推奨されていません。 
Gets all service names that are assigned to the user.

定義:
インタフェース AMObject 内の getAssignedServices
戻り値:
The Set of service names that are assigned to the user.
例外:
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.

assignServices

void assignServices(Set serviceNames)
                    throws AMException,
                           SSOException
推奨されていません。 
Assigns services to the user.

パラメータ:
serviceNames - Set of service names
例外:
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.
関連項目:
AMObject.assignServices(java.util.Map)