Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

GET method for session details of current user

This method fetches the roles and privileges details of the current user.

Description
Fetches roles and privileges details of the current user.
Privilege
VIEW
HTTP response codes
200
Example response body
{
    "@odata.context": "/api/$metadata#SessionService.SessionUser",
    "@odata.type": "#SessionService.SessionUser",
    "@odata.id": "/api/SessionService/CurrentUser",
    "UserName": "root",
    "Roles": [
        "CHASSIS_ADMINISTRATOR"
    ],
    "Privileges": [
        "VIEW",
        "APPLIANCE_SETUP",
        "SECURITY_SETUP",
        "MONITORING_SETUP",
        "POWER_CONTROL",
        "DEVICE_CONFIGURATION",
        "OPERATING_SYSTEM_DEPLOYMENT",
        "DEVICE_UPDATE",
        "TEMPLATE_MANAGEMENT",
        "BASELINE_MANAGEMENT",
        "POWER_MANAGEMENT",
        "JOB_MANAGEMENT",
        "ALERT_MANAGEMENT",
        "FABRIC_MANAGEMENT",
        "NETWORK_MANAGEMENT"
    ]
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\