I don't think that is possible, but could be wrong.
I was going to tell you that you could work around the problem by creating a secondary data source to hold the users from the AD group and to use code to populate those nodes, but I don't think this will work because the order of processing puts the OnLoad event handler after Roles (see "Order of Processing at Startup" in the Dev Nugget section of the InfoPathDev web site: http://www.infopathdev.com/nuggets/).

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Is it possible to have one user role on a form that
references a goup in AD, and run conditions and rules of
this based if a user exists in this group or not.????
I have tried this and cannot get it going
Alex - 05 Jul 2004 03:32 GMT
Thanks for your answer but fixed it by using a db and
using to check if users exist then run of that
>-----Original Message-----
>I don't think that is possible, but could be wrong.
>
>I was going to tell you that you could work around the problem by creating a secondary data source to hold the
users from the AD group and to use code to populate those
nodes, but I don't think this will work because the order
of processing puts the OnLoad event handler after Roles
(see "Order of Processing at Startup" in the Dev Nugget
section of the InfoPathDev web site:
http://www.infopathdev.com/nuggets/).
>Is it possible to have one user role on a form that
>references a goup in AD, and run conditions and rules of
>this based if a user exists in this group or not.????
>
>I have tried this and cannot get it going
>.