Edytuj

Udostępnij za pośrednictwem


User2 Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeUserObject.

public interface class User2 : Microsoft::Office::Interop::InfoPath::User
[System.Runtime.InteropServices.Guid("096CD736-0786-11D1-95FA-0080C78EE3BB")]
public interface User2 : Microsoft.Office.Interop.InfoPath.User
type User2 = interface
    interface User
Public Interface User2
Implements User
Derived
Attributes
Implements

Properties

LoginName

Gets the user's full credentials.

UserName

Gets only the user's username.

Methods

IsCurrentUser(String)

Returns true if the current user matches the specified user name.

IsUserMemberOf(String)

Returns a value that indicates whether the current user is a member of the specified group.

Applies to