Edit

Share via


User 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 User
[System.Runtime.InteropServices.Guid("096cd6bc-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface User
type User = interface
Public Interface User
Derived
Attributes

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