I completed the upgrade from ARIS 7.2 to ARIS 9.6 and created user groups to allow users were mapped in UMC individually.
However, when I run any reports I am not able to call user's group in ARIS Designer.
All user groups have different authority.
I cannot login with any users' information, because each user group has different authority
and it has no property information.
(I am sure API is not a problem)
Please see the below sample source code for more detail.
Moreover, If you need more clarification, please let me know.
===== source code =====
var userID = ArisData.getActiveUser().Name(Context.getSelectedLanguage()); // declare ID in database
var aDatabase = ArisData.getActiveDatabase(); // Call Database information that is currently logged in
var item = aDatabase.Find(Constants.SEARCH_USER,Constants.AT_NAME,1042,userID,Constants.SEARCH_CMP_EQUAL);
// Find ID using Find function in Database
// Find result : item.length = 1 (One result)
var userName = item[0].Attribute(Constants.AT_NAME_FULL_LGINDEP, 1042).GetValue(false); // Call User's name without error
get the user name ordinarily
var userGroupList = item[0].UserGroups(); // Unable to bring even the user Group is assigned. userGroupList.length = 0 (결과 0건)
can not get it eventhough it's assigned a group
Hi,
there is a difference in the user management in comparison to 7.x.
For 9.x, the user groups intially only exist in the UMC, the central user management. They are only transferred to the databases, if a user logs in into the database having such a group, or if you assign access rights in the database to this user group.
BTW: is an update to 9.7 an option for you? Considering user and user group management, many improvements have been done for 9.7.
Bye,
Frank