Home
last modified time | relevance | path

Searched refs:roleId (Results 1 – 3 of 3) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Droles.hpp87 const std::string& roleId) { in requestRoutesRoles() argument
94 getAssignedPrivFromRole(roleId); in requestRoutesRoles()
97 messages::resourceNotFound(asyncResp->res, "Role", roleId); in requestRoutesRoles()
104 asyncResp->res.jsonValue["Description"] = roleId + " User Role"; in requestRoutesRoles()
108 asyncResp->res.jsonValue["Id"] = roleId; in requestRoutesRoles()
109 asyncResp->res.jsonValue["RoleId"] = roleId; in requestRoutesRoles()
111 "/redfish/v1/AccountService/Roles/{}", roleId); in requestRoutesRoles()
H A Daccount_service.hpp1158 if (roleId) in updateUserProperties()
1160 std::string priv = getPrivilegeFromRoleId(*roleId); in updateUserProperties()
1814 const std::string& roleId, bool enabled, in processAfterGetAllGroups() argument
1857 if ((grp == "hostconsole") && (roleId != "priv-admin")) in processAfterGetAllGroups()
1886 roleId, enabled); in processAfterGetAllGroups()
1914 std::string roleId = roleIdJson.value_or("User"); in handleAccountCollectionPost() local
1915 std::string priv = getPrivilegeFromRoleId(roleId); in handleAccountCollectionPost()
1921 roleId = priv; in handleAccountCollectionPost()
2205 std::optional<std::string> roleId; in handleAccountPatch() local
2231 "RoleId", roleId, // in handleAccountPatch()
[all …]
/openbmc/openbmc-test-automation/redfish/dmtf_tools/
H A Dtest_redfishtool_local_user.robot170 …[Arguments] ${user_name} ${password} ${roleId} ${enable} ${login_user}="" ${login_pasword}=""
176 # roleId The role of user (e.g. "Administrator", "Operator", etc.).
184 ... '{"UserName":${user_name},"Password":${password},"RoleId":${roleId},"Enabled":${enable}}'