Chapter Summary

InfoPath’s COM object hierarchy, which you access through the InfoPath PIA, is much simpler than that of other Office applications. Most InfoPath projects involve getting or setting properties and invoking methods of the Application and XDocument objects and their descendants with event-handling code.

The Application object has a set of properties to test for a live network connection and access to file servers and Web sites. The Application.User interface has methods to determine whether the form’s user name matches a specified logon name and is a member of a particular local or domain-level security group. The XDocument objects’s Role property returns the name of the current user’s role.

The XDocuments collection’s XDocument ...

Get Introducing Microsoft® Office InfoPath™ 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.