Select to view content in your preferred language

AGOL Item serviceUsername Retrieval

151
0
07-02-2025 08:08 AM
MikeVolz
Frequent Contributor

So my org is creating public AGOL items that reference private AGOL Rest services using a serviceUsername and servicePassword.

In the future I want to be able to identify all the public AGOL items and their associated serviceUsername via python scripts.

I see that I can use the update property on the serviceUsername, but I also want to be able to retrieve the serviceUsername.

I am able to access the _user_id property of the item which is the item's owner, but that might not be the same as the service Username that is saved with the item.

Is this capability possible?

0 Kudos
0 Replies