AS

Hello, i am trying to retrieve the GUID of an UserGroup i have in my DB and i need to create a List with those GUIDs but nothing that i tried is working.

 I've have this to get list of user groups from my BD which:

      for (var k = 0 ; k < g_ousergroups.length ; k++ ){

        var ocurrentusergroup = g_ousergroups[k];

        var ocurrentattribute = ocurrentusergroup.Attribute(1000, g_nloc);

 

and i have tried to get the GUID from the current user group with:

sValue = g_ousergroups[k].Attribute(Constants.AT_ID, g_nLoc).getValue();

sValue = oObjDef.Attribute(Constants.AT_ID, g_nLoc).getValue();

sValue = g_ousergroups[k].Attribute(55, g_nLoc).getValue();

- When i check the value of the variable there is always no value at all

 and

 var auxi= g_ousergroups[k].FindGUID();

 

this gives me an error of "Cannot find in function FindGUID in object UserGroup object ID= ...."

 

 

Please help, i am completely stuck with this problem.

 

Best Regards.

 

 

 

 

by Ana Sequeira Author
Posted on Tue, 10/04/2016 - 18:18

ok nevermind, I found out that this works :)  ->            var aux = g_ousergroups[k].GUID();

 

Hope I can at least help someone having the same struggle

 

Regards

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock