Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2006

Tip: Looking for answers? Try searching our database.

User Roles and Multiple User Groups

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
davas100 - 18 Jan 2006 11:07 GMT
We are developing a form that will allow us to automate travel expenses
claims in our company. The Infopath solution will replace an excel document
that is currently used.

We intend to have a number of active directory groups set up to populate the
user roles i.e. Traveller, Authorizer etc. However, due to the nature of the
workflow these groups will overlap as an Authorizer can will also be a
Traveller.

My initial tests with Infopath suggest that when the form is opened by a
user the role assigned to that user is the first one found sequentially in
the user roles list. Is there any way to manipulate this logic?

I would like the role to be determined based on a few fields within a
previously saved form.

Anybody think this is possible or have any suggestions about the approach in
general?

Thanks in advance for your replies
Greg Collins [InfoPath MVP] - 18 Jan 2006 17:00 GMT
Yes, roles are assigned in a top-down fashion as you found.

If you need more complex role assignments, consider using code in the OnLoad event handler to assign the role.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

We are developing a form that will allow us to automate travel expenses
claims in our company. The Infopath solution will replace an excel document
that is currently used.

We intend to have a number of active directory groups set up to populate the
user roles i.e. Traveller, Authorizer etc. However, due to the nature of the
workflow these groups will overlap as an Authorizer can will also be a
Traveller.

My initial tests with Infopath suggest that when the form is opened by a
user the role assigned to that user is the first one found sequentially in
the user roles list. Is there any way to manipulate this logic?

I would like the role to be determined based on a few fields within a
previously saved form.

Anybody think this is possible or have any suggestions about the approach in
general?

Thanks in advance for your replies
davas100 - 19 Jan 2006 15:59 GMT
What methods etc would i need to change role assignment. I can't see anything
in the DOM. Any chance of an example?

Many thanks

> Yes, roles are assigned in a top-down fashion as you found.
>
[quoted text clipped - 20 lines]
>
> Thanks in advance for your replies
Greg Collins [InfoPath MVP] - 19 Jan 2006 16:13 GMT
It is as simple as XDocument.Role = "Role Name";

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

What methods etc would i need to change role assignment. I can't see anything
in the DOM. Any chance of an example?

Many thanks

"Greg Collins [InfoPath MVP]" wrote:

> Yes, roles are assigned in a top-down fashion as you found.
>
> If you need more complex role assignments, consider using code in the OnLoad event handler to assign the role.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.