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

 or register to reply.

Notify Moderator