T
TDM
Hello all,
First, I am new to Infopath so be gentle.
I have a Forms library in SharePoint. I want to create a form
that displays different controls on the form base on the users
NT Account name.
I first set up the Infopath user roles in Tools/User Roles. I added roles
and assigned "User Names" to these roles. When you click the
user name button, it brings up XP's User Manager, so I assumed
that since you can select and validate NT Account names, that
they were valid choices.
Then I set up the controls to display based on a user role as
such, I select the control properties, select the Display tab,
select Conditional Formatting, add a conditon, and set the condition to :
Users Current role is equal to UserRoleName
I then apply the formatting, in my case, "Hide this control".
I then publish the form, go to sharepoint, open a new document
from the forms library, and no matter who I am logged in as, the user
role in the lower right corner of the infopath form is ALWAYS the user
role that is set to default. I am not able to change the user role, or for
that matter, get Infopath to recognize/define the user role the way I
think it is supposed to work, based on NT account names per the
way I set up the user role.
So, my question is, how does one get Infopath to hide/display
controls based on the users NT account name ? I must be going
about it the wrong way, or am totally ignorant as to what user roles
really are in Infopath.
Any and all help is greatly appreciated, and thanks in advance.
TDM
First, I am new to Infopath so be gentle.
I have a Forms library in SharePoint. I want to create a form
that displays different controls on the form base on the users
NT Account name.
I first set up the Infopath user roles in Tools/User Roles. I added roles
and assigned "User Names" to these roles. When you click the
user name button, it brings up XP's User Manager, so I assumed
that since you can select and validate NT Account names, that
they were valid choices.
Then I set up the controls to display based on a user role as
such, I select the control properties, select the Display tab,
select Conditional Formatting, add a conditon, and set the condition to :
Users Current role is equal to UserRoleName
I then apply the formatting, in my case, "Hide this control".
I then publish the form, go to sharepoint, open a new document
from the forms library, and no matter who I am logged in as, the user
role in the lower right corner of the infopath form is ALWAYS the user
role that is set to default. I am not able to change the user role, or for
that matter, get Infopath to recognize/define the user role the way I
think it is supposed to work, based on NT account names per the
way I set up the user role.
So, my question is, how does one get Infopath to hide/display
controls based on the users NT account name ? I must be going
about it the wrong way, or am totally ignorant as to what user roles
really are in Infopath.
Any and all help is greatly appreciated, and thanks in advance.
TDM