EVT_RPC_LOGIN structure

Contains the information used to connect to a remote computer.

Syntax


typedef struct _EVT_RPC_LOGIN {
  LPWSTR Server;
  LPWSTR User;
  LPWSTR Domain;
  LPWSTR Password;
  DWORD  Flags;
} EVT_RPC_LOGIN;

Members

Server

The name of the remote computer to connect to.

User

The user name to use to connect to the remote computer.

Domain

The domain to which the user account belongs. Optional.

Password

The password for the user account.

Flags

The authentication method to use to authenticate the user when connecting to the remote computer. For possible authentication methods, see the EVT_RPC_LOGIN_FLAGS enumeration.

Remarks

You can set User, Domain, and Password to NULL to use the credentials of the current user.

If you set Password, consider using the SecureZeroMemory function to clear the password after calling EvtOpenSession.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinEvt.h

See also

EvtOpenSession

 

 

Community Additions

ADD
Show:
© 2015 Microsoft