Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UserObject Interface
Collapse the table of content
Expand the table of content

UserObject Interface (Microsoft.Office.Interop.InfoPath.SemiTrust)

Provides methods that can be used to return information about the current user.

 

Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)

[CLSCompliantAttribute(false)] 
public interface UserObject : User

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, see User.

Using the members of the User interface provides compatibility with InfoPath 2003. To use new members that were added to the User2 object model in Microsoft Office InfoPath 2007, you must cast the object returned by the User property of the Application object. to the User2 type. For more information, see How to: Use Object Model Members That Are Not Compatible with InfoPath 2003.

The UserObject object is accessed through the User property of the Application object.

Community Additions

ADD
Show:
© 2015 Microsoft