ESET Online Help

Search
Select the topic

Current

Call description

This call returns a list of data about the current user. This includes information about the user, user's company, country and the time zone where the account was setup.

This API call requires authorization; the user has to be logged in.

Request URL: https://mspapi.eset.com/api/User/Current

No parameter is needed.

This request is a GET call type.

List of user properties

Parameter

Description

id

User unique identification number.

firstName

The user's first name. The first name does not need to be unique.

lastName

The user's surname. The surname does not need to be unique.

email

Email address of the user.

description

User description.

phoneNumber

User's phone number.

twoFactorEnabled

2FA enabled on sign on.  The field values are true or false.

status

The status code is a numeric value representing the status of the ESET MSP Administrator user. See the list of statuses.

created

User creation time stamp.

lastUpdate

Last user update time stamp.

company

The subgroup for information about the user's company.

companyId

companyId is a unique identifier of a company. To get the companyId of the logged in user, use /api/User/Current call.

company name

Name of the company. It cannot be edited.

company type

Company type code. See the list of the codes under EntityTypes.

country

The subgroup for information about the user's country.

country countryCode

Three-letter code identifier for the country. Use only codes from the list.

timeZone

The subgroup for information about the user's time zone.

timeZone name

The name of the time zone.

timeZone code

The time zone code.

timeZone timeShift

The time zone shift with respect to UTC.

The response contains JSON structured data about the user currently logged in; the user who has requested the access token.

hmtoggle_plus0Example response

 

Troubleshooting

ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.

List of error codes