Get_user, Get_user parameter, Get_user runtime errors – HP Remote Insight Lights-Out Edition II Board User Manual

Page 144: Get_user return messages

Advertising
background image

Scripting, command line, and utility options 144

GET_USER

The GET_USER command will return a local user's information, excluding the password. The
USER_LOGIN parameter must exist in the current user database. For this command to parse correctly, the
command must appear within a USER_INFO command block, and USER_INFO MODE can be in read or
write. The user must have the administrative privilege to retrieve other user accounts; else the user can
only view their individual account information.

Example:

<RIBCL VERSION="2.0">

<LOGIN USER_LOGIN="adminname" PASSWORD="password">

<USER_INFO MODE="read">

<GET_USER USER_LOGIN="username"/>

</USER_INFO>

</LOGIN>

</RIBCL>

GET_USER parameter

USER_LOGIN is the login name of the user account. This parameter is case sensitive and must never be
blank.

GET_USER runtime errors

The possible GET_USER error messages include:

User login name must not be blank.

User login name was not found.

User does not have correct privilege for action. ADMIN_PRIV required.

GET_USER return messages

A possible GET_USER return message includes the following:

<RESPONSE

STATUS="0x0000"

MSG="No Errors"

/>

<GET_USER

USER_NAME="Admin User"

USER_LOGIN= "username"

ADMIN_PRIV="N"

CONFIG_RILO_PRIV="Y"

LOGIN_PRIV="Y"

REMOTE_CONS_PRIV="Y"

RESET_SERVER_PRIV="N"

VIRTUAL_MEDIA_PRIV="N"

CLIENT_IP=""

/>

Advertising