ISCSI_Persistent_Login structure (iscsiop.h)

The ISCSI_Persistent_Login structure defines a persistent logon that the operating system initiates automatically when the computer boots up.

Syntax

typedef struct _ISCSI_Persistent_Login {
  WCHAR               TargetName[223 + 1];
  ULONGLONG           SecurityFlags;
  ULONG               InitiatorPortNumber;
  ULONG               UsernameSize;
  BOOLEAN             IsInformationalSession;
  USHORT              UniqueIdForISID;
  ISCSI_TargetPortal  TargetPortal;
  ISCSI_LoginOptions  LoginOptions;
  ISCSI_TargetMapping TargetMapping;
  UCHAR               Username[1];
} ISCSI_Persistent_Login, *PISCSI_Persistent_Login;

Members

TargetName[223 + 1]

A wide character string that indicates the name of the target with which the iSCSI initiator service establishes a persistent logon when it restarts.

SecurityFlags

A bitwise OR of security flags that indicate the security requirements of the target that is specified in the persistent logon. For a list of possible values for this member, see SECURITY_FLAG_QUALIFIERS.

InitiatorPortNumber

The port number on the initiator side to perform the logon operation through.

UsernameSize

The size, in bytes, of the string in Username.

IsInformationalSession

A Boolean value that indicates whether the persistent logon is configured to establish a purely informational session. If this member is TRUE, the persistent logon is configured to establish a purely informational session.

UniqueIdForISID

Portal to use for initial connection

TargetPortal

An ISCSI_TargetPortal structure that specifies which target portal to use for the initial logon connection.

LoginOptions

An ISCSI_LoginOptions structure that specifies the characteristics of the persistent logon session.

TargetMapping

An ISCSI_TargetMapping structure that defines the target mappings.

Username[1]

A variable-length array of characters that specifies the challenge handshake authentication protocol user name (CHAP_N) to use when the initiator is authenticating the target. The number of elements in the array is specified by the UsernameSize field.

Requirements

Requirement Value
Header iscsiop.h (include Iscsiop.h)

See also

ISCSI_LoginOptions

ISCSI_Persistent_Login WMI Class

ISCSI_TargetMapping

ISCSI_TargetPortal

SECURITY_FLAG_QUALIFIERS