Switch User Group as Metadata?

Post Reply
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Switch User Group as Metadata?

Post 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 1443 times
jan_suhr
Advanced member
Posts: 592
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Switch User Group as Metadata?

Post 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.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: Switch User Group as Metadata?

Post 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.
Last edited by magnussandstrom on Wed Mar 08, 2023 12:06 pm, edited 1 time in total.
tdeschampsBluewest
Member
Posts: 37
Joined: Tue Jun 01, 2021 11:57 am

Re: Switch User Group as Metadata?

Post 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
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: Switch User Group as Metadata?

Post 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.
Post Reply