Share via


UserObject interface

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

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
<GuidAttribute("096CD6BC-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface UserObject _
    Inherits User
'Usage
Dim instance As UserObject
[GuidAttribute("096CD6BC-0786-11D1-95FA-0080C78EE3BB")]
public interface UserObject : User

Remarks

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, seeUser2.

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

See also

Reference

UserObject members

Microsoft.Office.Interop.InfoPath namespace