Get legal roles for a user
Resource URL
URL: user/legalRoles
Parameters
string username | Username |
string password | Password |
string userId | Trainingportal internal ID of the user |
string userExternalId optional | External ID of the user. Either userId or userExternalId must be filled |
Return value
The method returns a list of strings representing the legal roles for the user.
Example request
URL | |
POST DATA | userExternalId=a001&username=username&password=secret |
{
"legalRoles":
["READONLY_MANAGER","COMPANY_ADMINISTRATOR","COURSE_ADMINISTRATOR","MANAGER","CONTENT_ADMINISTRATOR","USER_ADMINISTRATOR","PORTAL_ADMINISTRATOR"]
}