Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpiCore)  1.26.2
AccessControlLib
Collaboration diagram for AccessControlLib:

Modules

 Version and Permission
 
 Structs, Types, ...
 
 User Management functions
 

Detailed Description

This library provides the functionality that allows to manage users and their information. This information comprises user credentials used for authentication or groups to which the user belongs.

Note
When you use this library to modify your userdatabase it is highly recommended to not use the following options any more: mlpiApiUserAccountControlLoadAccounts mlpiApiUserAccountControlUnloadAccounts

All the following functions allow to modify and obtain information regarding the user and group configuration of the target control. The users are a critical part of MLPI, as their authentication is necessary in order to allow/disallow the usage of libraries.

Note
Currently, only one group is supported and hence, only one group can be assigned to a user. The name of this group is "engineer" and it is used by the Indraworks software in order to perform engineering functions. To assign MLPI permissions of specific MLPI libraries to newly aggregated users, it is necessary to manually aggregate the permissions after the user account is create. This requires to modify the accounts.xml file located in the /OEM/ProjectData partition of the target device and add the MLPI permissions manually. Afterwards, a device reboot or an update of the accounts.xml is necessary employing the mlpi method mlpiApiUserAccountControlReload.