1iscsi_session_username_in_get(3) API Manual iscsi_session_username_in_get(3)
2
3
4
6 iscsi_session_username_in_get - Retrieve authentication username of
7 specified session.
8
10 const char * iscsi_session_username_in_get (struct iscsi_session *se);
11
13 se Pointer of 'struct iscsi_session'. If this pointer is
14 NULL, your program will be terminated by assert.
15
17 Retrieve the inbound authentication username of specified iSCSI ses‐
18 sion. Currently open-iscsi only support CHAP authentication method.
19 The inbound authentication here means the iSCSI initiator authenticates
20 the iSCSI target using CHAP. It's controlled this setting in isc‐
21 sid.conf:
22
24 const char *. Empty string if not using inbound CHAP authentication or
25 failed to read authentication information. No need to free this mem‐
26 ory, the resources will get freed by iscsi_session_free or iscsi_ses‐
27 sions_free.
28
29
30
31July 2023 iscsi_session_usernamei_sicns_ig_estession_username_in_get(3)