Skip to main content

Hi All,

We have a requirement to check if a user belongs to a particular group in SharePoint and display/hide certain controls on a smartform. We found an OOTB smartobject 'SharePoint Integration Helper Methods' having method 'Is User in Any One Group' but not sure how to check the return value from this method.

Any suggestions are highly appreciated.

 

TIA,

Kamal

You can create a form parameter such as "UserInXGroup" of type boolean. Then map the boolean output from the method into that form parameter. In the rules, you can then check if the value of the parameter is true or false and control display of your form as needed.


HI,

 

Just Store the result in parameter or in any controls(eg.TextBox).

Then use that parameter or controls in Rule (eg.IF condition) based on the IF condition you can hide/show the controls or other operation.

 

 


Reply