summaryrefslogtreecommitdiffstats
path: root/user_channel/user_mgmt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'user_channel/user_mgmt.hpp')
-rw-r--r--user_channel/user_mgmt.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/user_channel/user_mgmt.hpp b/user_channel/user_mgmt.hpp
index 16dbd31..5755fa0 100644
--- a/user_channel/user_mgmt.hpp
+++ b/user_channel/user_mgmt.hpp
@@ -183,6 +183,16 @@ class UserAccess
*/
ipmi_ret_t setUserName(const uint8_t& userId, const char* userNameInChar);
+ /** @brief to set user enabled state
+ *
+ * @param[in] userId - user id
+ * @param[in] enabledState - enabled state of the user
+ *
+ * @return IPMI_CC_OK for success, others for failure.
+ */
+ ipmi_ret_t setUserEnabledState(const uint8_t& userId,
+ const bool& enabledState);
+
/** @brief to set user privilege and access details
*
* @param[in] userId - user id
OpenPOWER on IntegriCloud