laptop and a wrench

Erro

In ArcGIS Online, the last login date does not update when a member logs in using the ArcGIS Field Maps or through ArcGIS Online on a mobile device.

ArcGIS Online
Número de ID do Erro BUG-000169358
EnviadoJuly 24, 2024
Última ModificaçãoApril 15, 2025
Aplica-se àArcGIS Online
Versão encontradaJune 2024
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusIn Review

Solução Provisória

The ArcGIS API for Python can also be used to determine the last login in ArcGIS Online. Determine the last login in ArcGIS Enterprise portal and ArcGIS Online using ArcGIS API for Python.

Modified script version:

import arcgis

import time

from arcgis.gis import GIS

gis = GIS("https://arcgis.com", username="username", password="password")

print("connected")

a_users = gis.users.search(query='username1')

print(str(a_users))

for a_user in a_users:

  if a_user. lastLogin != -1:

    last_accessed = time.localtime(a_user. lastLogin/1000)

    print(str(a_user. fullName) + " was last active on: {}.{}.{} {}:{}\n".format(last_accessed[2], last_accessed[1], last_accessed[0], last_accessed[3], last_accessed[4]))

  else:

   print(str(a_user. fullName) + " has never logged in.\n")

The result should display the login date and time in German format, e.g., 'User 1 was last active on: 24.7.2024 12:15'.

Etapas para Reproduzir

ID do Erro: BUG-000169358

Software:

  • ArcGIS Online

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download