org.wso2.solutions.identity.users
Interface IdentityUserStoreAdmin

All Known Implementing Classes:
IdentityDefaultUserStoreAdmin

public interface IdentityUserStoreAdmin

This interface adds the functionality related to multiple profiles. A given user can have multiple profiles with different attribute values. This contains methods corresponding to adding attribute values to user profiles.


Method Summary
 void setUserProperties(java.lang.String userName, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String profileName)
          This sets user properties corresponding to the given user name and the profile name.
 void updateUserProperties(java.lang.String userName, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String profileName)
          This updates user properties corresponding to the given user name and the profile name.
 

Method Detail

setUserProperties

void setUserProperties(java.lang.String userName,
                       java.util.Map<java.lang.String,java.lang.String> properties,
                       java.lang.String profileName)
                       throws org.wso2.usermanager.UserManagerException
This sets user properties corresponding to the given user name and the profile name.

Parameters:
userName - Unique user name
properties - Profile properties
profileName - Name of the profile
Throws:
org.wso2.usermanager.UserManagerException

updateUserProperties

void updateUserProperties(java.lang.String userName,
                          java.util.Map<java.lang.String,java.lang.String> properties,
                          java.lang.String profileName)
                          throws org.wso2.usermanager.UserManagerException
This updates user properties corresponding to the given user name and the profile name.

Parameters:
userName - Unique user name
properties - Profile properties
profileName - Name of the profile
Throws:
org.wso2.usermanager.UserManagerException