Accounts

A single role entity can have more than one associated user account. There is a primary account which is usually issued by Euphoria for transporters and this is known as the role specific admin account. This role specific admin account has the right to create additional accounts. This works for all roles. For instance, a transporter can create a contractor and create an account for that contractor. The contractor can uses these credentials to create additional accounts. Only the primary account has the right to create other accounts.

The easiest way to create and manage accounts is using Cabman Online. Every role can logon and manage their own account or, when allowed, manage owned accounts. Because Cabman Online is nothing more than a client connected to CCP every function that is available from Cabman Online is available for every authorized client. This means that the client can perform the same tasks as Cabman Online including user management.

To retrieve a summary of all visible accounts of the current user use the AccountsSummary EntitySet. This returns a collection of AccountSummary objects containing all accounts the user has access to. The collection also contains the account of current user. This account can be identified by using the function GetUserRole. This returns information about the current user. It contains the userid and information about the linked role entity. See the section User Information for details.

Account management

There are a number of account management functions available. Some function are only accessible to the platform admin or role specific admin but a few are also available to every user. Below is a list of most of these functions. More details about the functions can be found in the reference section.

Function
BlockUser
ChangePassword
ChangeUserEmail
ChangeUserName
CreateUser
DeleteUseraccount
GetUserNameByEmail
IsUserBlocked
MinPasswordLength
ResetPassword
UnBlockUser
ValidateUser
ValidateUserByEmail

Validate User

To verify if the current user has access to CCP resources and simultaneously check if CCP is available there is a handy little function available. The function is called ValidateUser and returns true if the user is authenticated and active (not blocked). It is recommended to execute this function every execution cycle. This way you know that everything is okay before execution and not during execution.