Getting the group Name of the current user in Info path forms
Sometimes, it is useful to get the group name of the current user in order to create rules based on that group, i.e: if we want to manage the permissions within the form through views depending on groups. The following example shows how to get the group name of the current user . I have divided the steps in 4 main sections: Creating a web service connection : New web service connection need to be created to obtain the group name thought the GetGroupCollectionFormUser service. Exporting the form: The form needs to be exported as we will apply some changes in one of the exported files. Updating the XSD file : Edit the GetGroupCollectionFormUser1.xsd file. Creating rules to manage the permissions within the form : The form permissions will be managed through rules created in the Form Load. Users will see different form views depending on the groups they belong to. Creating a web service conne...