public class UserProfileAdmin
extends org.wso2.carbon.core.AbstractAdmin
| Constructor and Description |
|---|
UserProfileAdmin() |
| Modifier and Type | Method and Description |
|---|---|
void |
associateID(String idpID,
String associatedID) |
void |
deleteUserProfile(String username,
String profileName) |
AssociatedAccountDTO[] |
getAssociatedIDs() |
static UserProfileAdmin |
getInstance() |
String |
getNameAssociatedWith(String idpID,
String associatedID) |
UserProfileDTO |
getProfileFieldsForInternalStore() |
UserProfileDTO |
getUserProfile(String username,
String profileName) |
UserProfileDTO[] |
getUserProfiles(String username) |
boolean |
isAddProfileEnabled() |
boolean |
isAddProfileEnabledForDomain(String domain) |
boolean |
isReadOnlyUserStore() |
void |
removeAssociateID(String idpID,
String associatedID) |
void |
setUserProfile(String username,
UserProfileDTO profile) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamppublic static UserProfileAdmin getInstance()
public boolean isReadOnlyUserStore()
throws UserProfileException
UserProfileExceptionpublic void setUserProfile(String username, UserProfileDTO profile) throws UserProfileException
UserProfileExceptionpublic void deleteUserProfile(String username, String profileName) throws UserProfileException
UserProfileExceptionpublic UserProfileDTO[] getUserProfiles(String username) throws UserProfileException
UserProfileExceptionpublic UserProfileDTO getProfileFieldsForInternalStore() throws UserProfileException
UserProfileExceptionpublic UserProfileDTO getUserProfile(String username, String profileName) throws UserProfileException
UserProfileExceptionpublic boolean isAddProfileEnabled()
throws UserProfileException
UserProfileExceptionpublic boolean isAddProfileEnabledForDomain(String domain) throws UserProfileException
UserProfileExceptionpublic void associateID(String idpID, String associatedID) throws UserProfileException
UserProfileExceptionpublic String getNameAssociatedWith(String idpID, String associatedID) throws UserProfileException
UserProfileExceptionpublic AssociatedAccountDTO[] getAssociatedIDs() throws UserProfileException
UserProfileExceptionpublic void removeAssociateID(String idpID, String associatedID) throws UserProfileException
UserProfileExceptionCopyright © 2016 WSO2. All rights reserved.