D
devers
I need to disable some controls based on roles. If the current user is not a
member of the group that populates the defined role then the control is set
to read only. The roles are defined with Active Directory groups and a user
may be in mutiple groups and consequently be a member of multiple roles.
When I compare the current user to a role I have been using equals as the
operator but it doesn't seem to be working. My first fear was that the role
was a snapshot of the group members when I defined the role in my InfoPath
form, but that seems unlikely, after all this is a Microsoft product so you'd
think it was dynamic. So now I am wondering if maybe the opertor should be
something else to handle the case of membership in multiple AD groups and
InfoPath roles. What does the get-roles function return and what is the
recommended operator to handle this?
member of the group that populates the defined role then the control is set
to read only. The roles are defined with Active Directory groups and a user
may be in mutiple groups and consequently be a member of multiple roles.
When I compare the current user to a role I have been using equals as the
operator but it doesn't seem to be working. My first fear was that the role
was a snapshot of the group members when I defined the role in my InfoPath
form, but that seems unlikely, after all this is a Microsoft product so you'd
think it was dynamic. So now I am wondering if maybe the opertor should be
something else to handle the case of membership in multiple AD groups and
InfoPath roles. What does the get-roles function return and what is the
recommended operator to handle this?