This is an archive version of the document. To get the most up-to-date information, see the current version.

Getting Information on Logged-In Users

Getting Information on Logged-In Users Note

Only Restore Portal users or restore operators can use this method. Make sure to obtain an authorization token with the operator value selected from the grant_type drop-down list. For more information on how to obtain a token, see Authorization for Restore Operators.

You can get a resource representation of information if the users currently logged in to Restore Portal act as restore operators.

Request

GET https://<hostname>:4443/v6/Organization/LoggedInUser/OperatorInfo

Request Headers

The request header must contain an authorization token of the current session.

Request Body

None.

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the response body message: application/json; charset=utf-8

Response Body

In the response body, the server returns a resource representation of the /Organization/LoggedInUser/OperatorInfo resource. The response body contains the following properties:

Property

Type

Description

isOperator

boolean

Defines that the user acts as restore operator and is allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365.

_links

Dictionary of string [key] and Object [value]

Links to related resources (navigation property).

Example

The example returns a resource representation of information if the users currently logged in to Restore Portal act as restore operators.

Request:

GET https://abc.tech.local:4443/v6/LoggedInUser/OperatorInfo

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

{

 "isOperator": true,

 "_links": {}

}