com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Managing Users and Roles with APIs

From 5.4.0 onwards, SCIM 2.0 REST APIs are supported out-of-the-box with WSO2 Identity Server and is recommended for user store management. For more information on using the SCIM 2.0 REST APIs instead of the SOAP service given below, see Using the SCIM 2.0 REST APIs.

This section guides you through invoking and working with the RemoteUserStoreManagerService and the operations you can work with in this service.

Invoking the admin service

RemoteUserStoreManagerService is an admin service of the WSO2 Carbon platform. As admin services are secured to prevent anonymous invocations, you cannot view the WSDL of the admin service by default. Follow the steps below to view and invoke it:

  1. Set the <HideAdminServiceWSDLs> element to false in <IS_HOME>/repository/conf/carbon.xml file.

    <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
  2. Restart the Identity Server.
  3. If you have started the server in default configurations, use the following URL in your browser to see the WSDL of the admin service: https://localhost:9443/services/RemoteUserStoreManagerService?wsdl.

For more information on WSO2 admin services and how to invoke an admin service using either SoapUI or any other client program, see Calling Admin Services from Apps section in WSO2 Carbon documentation.


Operations included in the API and sample requests

The following operations are available in the RemoteUserStoreManagerService: 

For the methods that have profile name as an input parameter, you can also pass null for the parameter in which case the default profile will then be considered instead.

authenticate()
Methodauthenticate
DescriptionAuthenticate users against the user store
Input Parameters
ParameterTypeDescription
UsernamestringProvide the relevant user's username
CredentialstringProvide the relevant user's password
Output ParametersA boolean parameter indicating if the user has been authenticated or not
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:authenticate>
         <!--Optional:-->
         <ser:userName>nilasini</ser:userName>
         <!--Optional:-->
         <ser:credential>admin</ser:credential>
      </ser:authenticate>
   </soapenv:Body>
</soapenv:Envelope>
isReadOnly()
MethodisReadOnly
DescriptionCheck whether the user store is read only
Input Parameters

None

Output ParametersA boolean parameter indicating if the user store is read only or not
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:isReadOnly/>
   </soapenv:Body>
</soapenv:Envelope>
getUserClaimValue()
MethodgetUserClaimValue
DescriptionRetrieve the value of the user property from the user profile
Input Parameters
ParameterTypeDescription
UsernameStringUsername
ClaimStringName of the claim
Profile NameStringName of the user profile
Output ParametersValue of the claim as a string
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getUserClaimValue>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Optional:-->
         <ser:claim>http://wso2.org/claims/lastname</ser:claim>
         <!--Optional:-->
         <ser:profileName>?</ser:profileName>
      </ser:getUserClaimValue>
   </soapenv:Body>
</soapenv:Envelope>


getUserList()
MethodgetUserList
DescriptionRetrieve a list of all users
Input Parameters
ParameterTypeDescription
Claim URIStringThe Claim URI of the claim
Claim ValueStringThe value of the claim
Profile NameStringName of the user profile
Output ParametersList of users with the specified claim.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getUserList>
         <!--Optional:-->
         <ser:claimUri>http://wso2.org/claims/country</ser:claimUri>
         <!--Optional:-->
         <ser:claimValue>srilanka</ser:claimValue>
         <!--Optional:-->
         <ser:profile>default</ser:profile>
      </ser:getUserList>
   </soapenv:Body>
</soapenv:Envelope>


getUserListOfRole()
MethodgetUserListOfRole
DescriptionRetrieve a list of all users belonging to a role
Input Parameters
ParameterTypeDescription
Role NameStringName of the role
Output ParametersList of usernames as a string array
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getUserListOfRole>
         <!--Optional:-->
         <ser:roleName>Engineer</ser:roleName>
      </ser:getUserListOfRole>
   </soapenv:Body>
</soapenv:Envelope>

Note: This operation retrieves a list of all the users. The users assigned to the specified role will be indicated in the list. Users belonging to the role are shown as selected = true and users not belonging to the role are show as selected = false.

updateCredential()
MethodupdateCredential
DescriptionThis operation can be used by the user itself to update his/her own password
Input Parameters
ParameterTypeDescription
UsernameStringUsername
New CredentialStringThe new password
Old CredentialStringThe old password
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:updateCredential>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com </ser:userName>
         <!--Optional:-->
         <ser:newCredential>admin</ser:newCredential>
         <!--Optional:-->
         <ser:oldCredential>nilasini</ser:oldCredential>
      </ser:updateCredential>
   </soapenv:Body>
</soapenv:Envelope>

getUserClaimValuesForClaims()
MethodgetUserClaimValuesForClaims
DescriptionRetrieve the claim values of a user when given a set of claims and a user profile
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Set of ClaimsStringName of the claim
Profile NameStringName of the user profile
Output ParametersArray of objects of type ClaimValue which contains the claim mapping between claim URI and claim value
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getUserClaimValuesForClaims>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com </ser:userName>
         <!--Zero or more repetitions:-->
         <ser:claims>country</ser:claims>
         <!--Optional:-->
         <ser:profileName>nila@wso2support.com </ser:profileName>
      </ser:getUserClaimValuesForClaims>
   </soapenv:Body>
</soapenv:Envelope>


setUserClaimValue()
MethodsetUserClaimValue
DescriptionUpdate the user claim value in a user profile
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Profile NameStringName of the user profile
Claim URIStringThe claim URI of the claim
Claim ValueStringThe claim value
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:setUserClaimValue>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Optional:-->
         <ser:claimURI>http://wso2.org/claims/lastname</ser:claimURI>
         <!--Optional:-->
         <ser:claimValue>thiru</ser:claimValue>
         <!--Optional:-->
         <ser:profileName>nila@wso2support.com</ser:profileName>
      </ser:setUserClaimValue>
   </soapenv:Body>
</soapenv:Envelope>


deleteUserClaimValue()
MethoddeleteUserClaimValue
DescriptionDelete a single user claim value
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Profile NameStringName of the user profile
Claim URIStringThe claim URI of the claim
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:deleteUserClaimValue>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Optional:-->
         <ser:claimURI>http://wso2.org/claims/lastname</ser:claimURI>
         <!--Optional:-->
         <ser:profileName>nila@wso2support.com</ser:profileName>
      </ser:deleteUserClaimValue>
   </soapenv:Body>
</soapenv:Envelope>


isExistingUser()
MethodisExistingUser
DescriptionCheck whether a given user name exists in the system
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Output ParametersA Boolean parameter indicating whether the user exists or not
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:isExistingUser>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
      </ser:isExistingUser>
   </soapenv:Body>
</soapenv:Envelope>


deleteUserClaimValues()
MethoddeleteUserClaimValues
DescriptionDelete many user claim values
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Profile NameStringName of the user profile
ClaimsString ArrayThe claims to be deleted
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:deleteUserClaimValues>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Zero or more repetitions:-->
         <ser:claims>http://wso2.org/claims/organization</ser:claims>
         <ser:claims>http://wso2.org/claims/country</ser:claims>
         <!--Optional:-->
         <ser:profileName>default</ser:profileName>
      </ser:deleteUserClaimValues>
   </soapenv:Body>
</soapenv:Envelope>


updateCredentialByAdmin()
MethodupdateCredentialByAdmin
DescriptionThis operation can be used by the admin to update a user's password
Input Parameters
ParameterTypeDescription
UsernameStringUsername
New CredentialStringThe new password
Output ParametersNone
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:updateCredentialByAdmin>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Optional:-->
         <ser:newCredential>admin</ser:newCredential>
      </ser:updateCredentialByAdmin>
   </soap:Body>
</soap:Envelope>

getRoleNames()
MethodgetRoleNames
DescriptionGet a list of all the roles created in the system
Input Parameters

None

Output ParametersA string array of all the role names
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:getRoleNames/>
   </soap:Body>
</soap:Envelope>


getAllProfileNames()
MethodgetAllProfileNames
DescriptionGet a list of all the profile names created in the system
Input Parameters

None

Output ParametersA string array of all the profile names
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:getAllProfileNames/>
   </soap:Body>
</soap:Envelope>


listUsers()
MethodlistUsers
DescriptionRetrieves a list of user names upto a particular maximum limit
Input Parameters
ParameterTypeDescription
FilterStringA filter to filter out any users
Max Item LimitInteger

The max limit to the number of users returned in the list

  • If the value given is below 0, it will be disregarded and the system configured limit will be taken instead.
  • If the value given is greater than the system configured limit, it will be disregarded and the system configured limit will be taken instead.
Output ParametersA filtered string array of all the user names
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:listUsers>
         <!--Optional:-->
         <ser:filter>*@wso2support.com</ser:filter>
         <!--Optional:-->
         <ser:maxItemLimit>10</ser:maxItemLimit>
      </ser:listUsers>
   </soap:Body>
</soap:Envelope>


deleteRole()
MethoddeleteRole
DescriptionDelete a given role name
Input Parameters
ParameterTypeDescription
Role NameStringName of the role
Output ParametersNone
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:deleteRole>
         <!--Optional:-->
         <ser:roleName>Engineer</ser:roleName>
      </ser:deleteRole>
   </soap:Body>
</soap:Envelope>


deleteUser()
MethoddeleteUser
DescriptionDelete a user
Input Parameters
ParameterTypeDescription
UsernameStringUsername of the user
Output ParametersNone
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:deleteUser>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
      </ser:deleteUser>
   </soap:Body>
</soap:Envelope>
getRoleListOfUser()
MethodgetRoleListOfUser
DescriptionGet the list of roles that a particular user belongs to
Input Parameters
ParameterTypeDescription
UsernameStringUsername of the user
Output ParametersA string array of the role names
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:getRoleListOfUser>
         <!--Optional:-->
         <ser:userName>nilasini@wso2support.com</ser:userName>
      </ser:getRoleListOfUser>
   </soap:Body>
</soap:Envelope>


updateRoleName()
MethodupdateRoleName
DescriptionChange the name of a particular role
Input Parameters
ParameterTypeDescription
Role NameStringExisting name of the role
New Role NameStringNew name for the role
Output ParametersNone
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:updateRoleName>
         <!--Optional:-->
         <ser:roleName>Doctor</ser:roleName>
         <!--Optional:-->
         <ser:newRoleName>Teacher</ser:newRoleName>
      </ser:updateRoleName>
   </soap:Body>
</soap:Envelope>


isExistingRole()
MethodisExistingRole
DescriptionCheck whether a given role exists
Input Parameters
ParameterTypeDescription
Role NameStringName of the role
Output ParametersA Boolean parameter indicating whether the role exists or not
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:isExistingRole>
         <!--Optional:-->
         <ser:roleName>Teacher</ser:roleName>
      </ser:isExistingRole>
   </soap:Body>
</soap:Envelope>


updateRoleListOfUser()
MethodupdateRoleListOfUser
DescriptionChange the list of roles that a user belongs to
Input Parameters
ParameterTypeDescription
UsernameStringUsername of User
Deleted RolesString ArrayList of roles that are to be removed
New RolesString ArrayList of roles that are to be added
Output ParametersNone
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:updateRoleListOfUser>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Zero or more repetitions:-->
         <ser:deletedRoles>Teacher</ser:deletedRoles>
         <ser:deletedRoles>lecturer</ser:deletedRoles>
         <!--Zero or more repetitions:-->
         <ser:newRoles>doctor</ser:newRoles>
		 <ser:newRoles>carpenter</ser:newRoles>
      </ser:updateRoleListOfUser>
   </soap:Body>
</soap:Envelope>


getHybridRoles()
MethodgetHybridRoles
DescriptionGet the list of roles stored in the internal UserMgt database irrespective of the user store
Input Parameters

None

Output ParametersA string array of all the roles
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getHybridRoles/>
   </soapenv:Body>
</soapenv:Envelope>


getUserClaimValues()
MethodgetUserClaimValues
DescriptionGet a list of all claim information for a given user name and profile name
Input Parameters
ParameterTypeDescription
UsernameStringUsername of User
Profile NameStringName of the profile
Output ParametersArray of objects of type 'claim' which includes all the information of the claims
soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soap:Header/>
   <soap:Body>
      <ser:getUserClaimValues>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Optional:-->
         <ser:profileName>default</ser:profileName>
      </ser:getUserClaimValues>
   </soap:Body>
</soap:Envelope>


addUser()
MethodaddUser
DescriptionAdd a user to the user store
Input Parameters
ParameterTypeDescription
UsernameStringUsername of the new user
CredentialStringPassword for the new user
Role ListString ArrayList of roles that the user should be assigned to
ClaimsClaims Objects ArrayProperties of the user (claim mapping) as a mapping 
Profile NameStringName of the profile
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org" xmlns:xsd="http://common.mgt.user.carbon.wso2.org/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:addUser>
         <!--Optional:-->
         <ser:userName>nilasini</ser:userName>
         <!--Optional:-->
         <ser:credential>admin</ser:credential>
         <!--Zero or more repetitions:-->
         <ser:roleList>teacher</ser:roleList>
         <ser:roleList>Doctor</ser:roleList>
         <!--Zero or more repetitions:-->
         <ser:claims>
            <!--Optional:-->
            <xsd:claimURI>http://wso2.org/claims/country</xsd:claimURI>
            <!--Optional:-->
            <xsd:value>England</xsd:value>
         </ser:claims>
         <ser:claims>
            <!--Optional:-->
            <xsd:claimURI>http://wso2.org/claims/organization</xsd:claimURI>
            <!--Optional:-->
            <xsd:value>Intuit</xsd:value>
         </ser:claims>
         <!--Optional:-->
         <ser:profileName>default</ser:profileName>
         <!--Optional:-->
         <ser:requirePasswordChange>false</ser:requirePasswordChange>
      </ser:addUser>
   </soapenv:Body>
</soapenv:Envelope>


addRole()
MethodaddRole
DescriptionAdd a role to the system
Input Parameters
ParameterTypeDescription
Role NameStringName of the new role
User ListStringList of users to be included to the role
PermissionsPermission Objects ArrayPermissions to be assigned to the role 
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org" xmlns:xsd="http://dao.service.ws.um.carbon.wso2.org/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:addRole>
         <!--Optional:-->
         <ser:roleName>hrManager</ser:roleName>
         <!--Zero or more repetitions:-->
         <ser:userList>nila@wso2support.com</ser:userList>
         <ser:userList>venilope</ser:userList>
         <ser:userList>pav@wso2support.com</ser:userList>
         <!--Zero or more repetitions:-->
         <ser:permissions>
            <!--Optional:-->
            <xsd:action>ui.execute</xsd:action>
            <!--Optional:-->
            <xsd:resourceId>/permission/admin/manage/identity</xsd:resourceId>
         </ser:permissions>
      </ser:addRole>
   </soapenv:Body>
</soapenv:Envelope>


updateUserListOfRole()
MethodupdateUserListOfRole
DescriptionAdd/remove users that belong to a particular role
Input Parameters
ParameterTypeDescription
Role NameStringName of the new role
Deleted UsersString ArrayList of users to be deleted from the role
New UsersString ArrayList of users to be added to the role
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:updateRoleListOfUser>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Zero or more repetitions:-->
         <ser:deletedRoles>teacher</ser:deletedRoles>
         <ser:deletedRoles>Doctor</ser:deletedRoles>
         <!--Zero or more repetitions:-->
         <ser:newRoles>lecturer</ser:newRoles>
         <ser:newRoles>carpenter</ser:newRoles>
      </ser:updateRoleListOfUser>
   </soapenv:Body>
</soapenv:Envelope>


setUserClaimValues()
MethodsetUserClaimValues
DescriptionUpdate the claim values of a given user
Input Parameters
ParameterTypeDescription
UsernameStringUsername
ClaimsString ArrayMap of claim URIs and values
Profile NameStringName of the profile
Output ParametersNone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org" xmlns:xsd="http://common.mgt.user.carbon.wso2.org/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:setUserClaimValues>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
         <!--Zero or more repetitions:-->
         <ser:claims>
            <!--Optional:-->
            <xsd:claimURI>http://wso2.org/claims/organization</xsd:claimURI>
            <!--Optional:-->
            <xsd:value>wso2</xsd:value>
         </ser:claims>
         <ser:claims>
            <!--Optional:-->
            <xsd:claimURI>http://wso2.org/claims/country</xsd:claimURI>
            <!--Optional:-->
            <xsd:value>srilanka</xsd:value>
         </ser:claims>
         <!--Optional:-->
         <ser:profileName>default</ser:profileName>
      </ser:setUserClaimValues>
   </soapenv:Body>
</soapenv:Envelope>


getTenantIdOfUser()
Method

getTenantIdOfUser

DescriptionGet the tenant ID of the tenant that a particular user belongs to
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Output ParametersThe Tenant ID as an integer
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getTenantIdofUser>
         <!--Optional:-->
         <ser:username>nila@wso2support.com</ser:username>
      </ser:getTenantIdofUser>
   </soapenv:Body>
</soapenv:Envelope>


getProfileNames()
Method

getProfileNames

DescriptionGet all profile names of a user
Input Parameters
ParameterTypeDescription
UsernameStringUsername
Output ParametersThe profile names as a string array
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getProfileNames>
         <!--Optional:-->
         <ser:userName>nila@wso2support.com</ser:userName>
      </ser:getProfileNames>
   </soapenv:Body>
</soapenv:Envelope>
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.