Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Get legal roles for a user

Resource URL

URL: user/legalRoles


Parameters

string username
required

Username

string password
required

Password

string userId
optional

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

https://www.trainingportal.no/mintra/rest/user/legalRoles

POST DATA

userExternalId=a001&username=username&password=secret

{
"legalRoles":
["READONLY_MANAGER","COMPANY_ADMINISTRATOR","COURSE_ADMINISTRATOR","MANAGER","CONTENT_ADMINISTRATOR","USER_ADMINISTRATOR","PORTAL_ADMINISTRATOR"]
}