User members

Include protected members
Include inherited members

Provides properties and a method that can be used to return information about the current user of the form.

The User type exposes the following members.

Constructors

  Name Description
Protected method User

Top

Properties

  Name Description
Public property LoginName Gets the user's full credentials.
Public property UserName Gets only the user's username.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsCurrentUser Gets whether the specified user is the current user.
Public method IsUserMemberOf Gets whether the current user is a member of the specified group.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

User class

Microsoft.Office.InfoPath namespace