public class UserRegistrationAdminServiceClient extends Object
| Constructor and Description |
|---|
UserRegistrationAdminServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(String username,
char[] password,
List<org.wso2.carbon.identity.user.registration.stub.dto.UserFieldDTO> userFields)
Add new user.
|
boolean |
isUserExist(String username)
Check whether the user exists.
|
org.wso2.carbon.identity.user.registration.stub.dto.UserFieldDTO[] |
readUserFieldsForUserRegistration(String dialect)
Get the user fields for given dialect.
|
public UserRegistrationAdminServiceClient()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void addUser(String username, char[] password, List<org.wso2.carbon.identity.user.registration.stub.dto.UserFieldDTO> userFields) throws RemoteException, org.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceException
username - Username of the user.password - Password of the user.userFields - User fields to be updated.RemoteExceptionorg.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceExceptionpublic org.wso2.carbon.identity.user.registration.stub.dto.UserFieldDTO[] readUserFieldsForUserRegistration(String dialect) throws org.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceIdentityException, RemoteException
dialect - Dialect to use.org.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceIdentityExceptionRemoteExceptionpublic boolean isUserExist(String username) throws RemoteException, org.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceUserRegistrationException
username - Username of the user.RemoteExceptionorg.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceExceptionorg.wso2.carbon.identity.user.registration.stub.UserRegistrationAdminServiceUserRegistrationExceptionCopyright © 2016 WSO2. All rights reserved.