ARTIFACTORY: Python script to get all the users for a specific realm

ARTIFACTORY: Python script to get all the users for a specific realm

AuthorFullName__c
Sunil Varghese
articleNumber
000005721
ft:sourceType
Salesforce
FirstPublishedDate
2023-05-15T16:32:05Z
lastModifiedDate
2023-05-15
VersionNumber
1

You might come across scenarios where you would like to know how many users are there for a specific realm in Artifactory. The solution is mentioned below.