GET Security My

Important:  This operation has been deprecated. It is retained for backwards compatibility, but new development should not use it.
Note:  New development should use the GET Security My Permissions operation.

The GET /Security/My operation returns the list of security roles and permissions configured in Keyfactor Command for the current user. On success, the operation returns HTTP 200 OK with  the details of the security roles and permissions. There are no input parameters for this operation other than the standard headers (see Endpoint Common Features).

Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

None

Table 745: GET Security My Roles Response Data

Name Description
Roles

An array of strings indicating the roles that the user holds.

GlobalPermissions

An array of objects containing the permissions granted to the user. See Legacy Security Structure for an overview of the possible permissions.

For example:

Copy
"GlobalPermissions": [
   {
      "Area": "AdminPortal",
      "Permission": "Read"
   },
   {
      "Area": "Dashboard",
      "Permission": "Read"
   }
],