Using ArcGIS API for Python on Portal, I need to see
from arcgis.gis import GIS
gis = GIS(url="https://xxx.xxx.com/portal", username="xxx", password="xxx")
print(gis.version)
user = gis.User('[email protected]')
print(user.fullName)
But I am getting this error on print(user.fullName)
AttributeError: 'GIS' object has no attribute 'User'
while the arcgis.gis
module has a class for User
at Here