Page 1 of 1

Switch User Group as Metadata?

Posted: Wed Mar 08, 2023 9:22 am
by magnussandstrom
Hi, is there a variable for Switch User Group that I can use in my flow when a job i submittet from a Submit Point? In this case I would like to use this information for a external dashboard.



Skärmavbild 2023-03-08 kl. 09.16.06.png
Skärmavbild 2023-03-08 kl. 09.16.06.png (136.19 KiB) Viewed 1486 times

Re: Switch User Group as Metadata?

Posted: Wed Mar 08, 2023 9:29 am
by jan_suhr
Hi Magnus,

You have the [Connection.UserName] variable and with the app Row2Variable you could set it up to get the group as PrivateData.

Might work for you.

Re: Switch User Group as Metadata?

Posted: Wed Mar 08, 2023 9:38 am
by magnussandstrom
Hi Jan, yes I could do my own mapping (user to group) with Row2Variables but I was hoping that the data was already in a variable. With an external mapping I have to remember to update the table whenever I do a change or add a new user.

Re: Switch User Group as Metadata?

Posted: Wed Mar 08, 2023 12:04 pm
by tdeschampsBluewest
Hi Magnus,
I was also interested in a such solution, but never found a method to do it in an elegant way...
If you have scripting module/database module you could access it via the .\Enfocus Switch Dataroot\settings\UserDatabase.db3

Re: Switch User Group as Metadata?

Posted: Wed Mar 08, 2023 12:07 pm
by magnussandstrom
tdeschampsBluewest wrote: Wed Mar 08, 2023 12:04 pm Hi Magnus,
I was also interested in a such solution, but never found a method to do it in an elegant way...
If you have scripting module/database module you could access it via the .\Enfocus Switch Dataroot\settings\UserDatabase.db3
Thanks, unfortunatly I doesn't have the scripting or database module.