SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how to set read only properties to the particular info path form control based on user logged in?

share|improve this question
up vote 1 down vote accepted

If you select the field and go to the "Fields" pane, you can add a rule (a Formatting Rule in this case) to do the trick. You have actions to "Hide this control" or "Disable this control" and you can base those actions on conditions (e.g. who is currently logged in).

share|improve this answer
I need to set read only properties to the field to particular group of user,And it should be visible for other user group. how to do this – My Name is Suresh Oct 26 '10 at 4:02
The method that I mention works for groups as well as users. Were you able to find the settings that I mentioned? Are you using InfoPath 2010 or 2007? – Rob Wilson Oct 26 '10 at 4:08
no i didn't find..i am using info path 2010 – My Name is Suresh Oct 26 '10 at 9:58
On the "Data" ribbon, click on "Show Fields". Then right click on the field you want to format (disable) and take the option to add a rule. Here is an interesting post on this topic that may give you other things to consider as well: – Rob Wilson Oct 26 '10 at 14:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.