Skip to main content


 

Symptoms

 


Is there a way to secure smartforms so only users in one group can view the smartform?
 

 

Diagnoses

 


This can be done with rules on the smartform. The Current User System object is the best way to do this.
 

 

Resolution

1: Call the Find Users Groups method in the UMUser Smartobject to get the users for the list. Use the Current User>Name property for the User Name parameter and the label name for where the user exists.
2: Filter to only have the group which will have rights to view the form. Output the name of the Group to a textbox/data label.
3: Add a condition that checks if the textbox/data label is empty.
4: If it is empty show a message saying you are not authorized, and close the window.

 

 



 
Be the first to reply!

Reply