<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get users and Their Role and UserType in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242812#M8196</link>
    <description>&lt;P&gt;&amp;nbsp;I do this I get this...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the actual text that I am going to provide another script that will create the users.&lt;/P&gt;&lt;P&gt;So I need the Actual User Type of Creator, or Mobile Worker&lt;/P&gt;&lt;P&gt;So I need the Actual Role of&amp;nbsp; Administrator, VDOT_User, VDOT_Publisher of which they are assigned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the result of 'both' does not tell me anything&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    for item in user_list: 
        csvfile.writerow([item.username,          # modify according to whatever properties you want in your report
                          item.role,
                          item.userType,
                          item.email
                          ])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kapalczynski_0-1671571465103.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58988i4065EF28F3C8FC18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kapalczynski_0-1671571465103.png" alt="kapalczynski_0-1671571465103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 21:26:51 GMT</pubDate>
    <dc:creator>kapalczynski</dc:creator>
    <dc:date>2022-12-20T21:26:51Z</dc:date>
    <item>
      <title>Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242807#M8195</link>
      <description>&lt;P&gt;I am trying to query for all my users and get their email, Role and UserType&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;item.usertype does not exist&lt;/P&gt;&lt;P&gt;item.role returns something that is not what I am expecting&lt;/P&gt;&lt;TABLE width="190"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="190"&gt;Role&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;org_user&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;org_user&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;org_user&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;org_user&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;org_admin&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;org_user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am expecting the name of my Roles as seen below... they are custom roles and I need that to eventually set them up..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kapalczynski_0-1671571165350.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58987iA0EE3F1B3FB4348F/image-dimensions/200x206?v=v2" width="200" height="206" role="button" title="kapalczynski_0-1671571165350.png" alt="kapalczynski_0-1671571165350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How do I get the UserName, UserType, UserRole, UserEmail???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;user_list = gis.users.search(query=search_user, max_users=200)

with open(output_csv, 'w', encoding='utf-8') as file:
    csvfile = csv.writer(file, delimiter=',', lineterminator='\n')
    csvfile.writerow(["Name",                         # these are the headers; modify according to whatever properties you want in your report
                      "Role",
                      "UserType",
                      "Email"
                    ])

    for item in user_list: 
        csvfile.writerow([item.username,          # modify according to whatever properties you want in your report
                          item.role,
                          item.usertype,
                          item.email
                          ])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242807#M8195</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2022-12-20T21:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242812#M8196</link>
      <description>&lt;P&gt;&amp;nbsp;I do this I get this...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the actual text that I am going to provide another script that will create the users.&lt;/P&gt;&lt;P&gt;So I need the Actual User Type of Creator, or Mobile Worker&lt;/P&gt;&lt;P&gt;So I need the Actual Role of&amp;nbsp; Administrator, VDOT_User, VDOT_Publisher of which they are assigned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the result of 'both' does not tell me anything&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    for item in user_list: 
        csvfile.writerow([item.username,          # modify according to whatever properties you want in your report
                          item.role,
                          item.userType,
                          item.email
                          ])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kapalczynski_0-1671571465103.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58988i4065EF28F3C8FC18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kapalczynski_0-1671571465103.png" alt="kapalczynski_0-1671571465103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:26:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242812#M8196</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2022-12-20T21:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242821#M8197</link>
      <description>&lt;P&gt;I can do this and it actually gives me the correct names.... with the 4th one a custom role&lt;/P&gt;&lt;P&gt;What am I missing.. are they stored differently?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;If I was to write and create a user I am assuming I would have to provide one of these role names... But I cannot get them when I am querying for the current users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Role name: Viewer, description: Viewer&amp;gt;&lt;BR /&gt;&amp;lt;Role name: Data Editor, description: Data Editor&amp;gt;&lt;BR /&gt;&amp;lt;Role name: Facilitator, description: Facilitator&amp;gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;Role name: Data Editor_VDOT, description: This type of account is meant for data editors.&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;rolesList = gis.users.roles.all(max_roles=50)
for role in rolesList:
print(role)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1242821#M8197</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2022-12-20T21:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243171#M8203</link>
      <description>&lt;P&gt;When I print out a list of user roles using user.role it only shows org_user/org_admin where the default "User" and "Admin" roles are being used, and for all of our custom roles it is printing the name correctly. Are you running this from a notebook in ArcGIS Online? And I'm assuming you've gone through the full list of user roles that have been output in your csv and confirmed that there's nothing other than org_user/org_admin/org_viewer?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 02:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243171#M8203</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2022-12-22T02:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243298#M8204</link>
      <description>&lt;P&gt;I am running this from a simple .py file that is being launched by a .bat file.&amp;nbsp; We do not use any default roles.&amp;nbsp; Everything is a custom role. The python file is doing much more than this, but this is part of it&lt;/P&gt;&lt;P&gt;I need a list of the UserName, LastName, Email, userType, Role as seen in the image below.&lt;/P&gt;&lt;P&gt;AND A LIST that I could be able to user to come back and create, modify or delete these users in AGOL.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;John, Smith, &lt;A href="mailto:john.smith@somerthing.com," target="_blank"&gt;john.smith@somerthing.com,&lt;/A&gt;&amp;nbsp;(Creator/Field Worker), (custom Role name)&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;The problem is I can get a proper listing of Roles and Custom Roles with gis.users.roles.all but that is just a list of available user Roles.&amp;nbsp; I need them listed for each user.&lt;/LI&gt;&lt;LI&gt;If I search for users I can only get meaningless data with gis.users.search(query=search_user, max_users=2000)&lt;UL&gt;&lt;LI&gt;This is all I can seem to get by using these:&lt;/LI&gt;&lt;LI&gt;item.username, item.role, item.roleId, item.userLicenseTypeId, item.level, item.email&lt;/LI&gt;&lt;LI&gt;ex.&amp;nbsp; users name, org_user/org_admin,&amp;nbsp;4uTOULA5tZCrtkZs, creatorUT/fieldWorkerUT, 11 or 2, email&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;org_user or org_admin does not tell me the users Role name which is a custom name.&amp;nbsp; Getting a list from gis.users.roles.all is worthless because it’s just a list of available Roles and NOT user specific.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that what is being stored in AGOL User store is NOT what I am seeing in my original post.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I see Creator or Mobile Worker but when I query for this data I get CreatorUT or FIeldWorkerUT&lt;/LI&gt;&lt;LI&gt;I see my my Custom Roles in the dropdown but when I query I get&amp;nbsp;org_user or org_admin.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kapalczynski_0-1671713382569.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59159i67F03DB5D0FC87CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kapalczynski_0-1671713382569.png" alt="kapalczynski_0-1671713382569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 12:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243298#M8204</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2022-12-22T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243300#M8205</link>
      <description>&lt;P&gt;It appears I can query the RoleId... This example should how to retrieve the description of the RoleId but NOT the Role ID itself...uggggg&lt;/P&gt;&lt;P&gt;What is the attribute of the Role Object that will give me the actual name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;searched_role = gis.users.roles.get_role(item.roleId)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;roleName = searched_role.description
print(roleName)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;RESULT&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;"This type of account is meant for data editors, including mobile/field data collectors. This account cannot create content or groups, but can participate in groups, view VDOT content, and edit data shared with them."&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;BUT&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;how do I get the Role Name as you can see below&amp;nbsp;&amp;lt;Role name: role1, description: role1&amp;gt;,&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;roleName = searched_role.RoleName&lt;/P&gt;&lt;P&gt;roleName = searched_role.roleName&lt;/P&gt;&lt;P&gt;roleName = searched_role.Role Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Querying the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;roleId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property of a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;User&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;returns you the custom roles' ID. You can use this to search for that role to know more details or create another user with the same role:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;tiles_pub_user.roleId&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;'rYzfnni7g5AvFsRz'&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;searched_role = gis.users.roles.get_role(tiles_pub_user.roleId)
searched_role.description&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;'User that can publish tile layers'&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H4&gt;Listing all the custom roles in an org&lt;/H4&gt;&lt;P&gt;When migrating users from one org to another or even to duplicate an org on new infrastructure, you would go through the process of cloning the users and their roles. For this, you can get the list of roles using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;all()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;RolesManager&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;resource object:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;gis.users.roles.&lt;SPAN class=""&gt;all&lt;/SPAN&gt;(max_roles=&lt;SPAN class=""&gt;50&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;[&amp;lt;Role name: Viewer, description: Viewer&amp;gt;,
 &amp;lt;Role name: tiles_publisher, description: User that can publish tile layers&amp;gt;,
 &amp;lt;Role name: role1, description: role1&amp;gt;,
 &amp;lt;Role name: role1, description: role1&amp;gt;,
 &amp;lt;Role name: role1, description: role1&amp;gt;,
 &amp;lt;Role name: role1, description: role1&amp;gt;]&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:14:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243300#M8205</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2022-12-22T13:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243432#M8208</link>
      <description>&lt;P&gt;I was going to suggest accessing it via the roleId, if we can get that to work! It should just be&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;searched_role.name&lt;/LI-CODE&gt;&lt;P&gt;to return the role name once you have the role object!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 20:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1243432#M8208</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2022-12-22T20:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1347758#M9270</link>
      <description>&lt;P&gt;Did you ever figure this out?&amp;nbsp; I'm hitting the same wall you were in this post.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1347758#M9270</guid>
      <dc:creator>ZandBakhtiari1</dc:creator>
      <dc:date>2023-11-09T16:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1363831#M9451</link>
      <description>&lt;P&gt;Seeing the same issue, but with some success using csv writer to write the role names.&amp;nbsp; Testing with f strings in Python window returns the actual role name for me.&lt;/P&gt;&lt;PRE&gt;portal_users = gis.users.search(max_users=1000)&lt;BR /&gt;&lt;BR /&gt;for user in portal_users:&lt;BR /&gt;  print(f"{user.username} - {user.role")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 23:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1363831#M9451</guid>
      <dc:creator>EnvironmentalIntelligence</dc:creator>
      <dc:date>2023-12-21T23:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1536994#M10640</link>
      <description>&lt;P&gt;Has this been solved yet? I am running into a similar issue, however, when I have user.role calling to gather the role information, I can see my orgs custom roles associated with the different permission levels. When I include any sort of groups information in my code, that is when the role field starts to just show org_user, org_admin, org_publisher.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 18:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1536994#M10640</guid>
      <dc:creator>Theisen</dc:creator>
      <dc:date>2024-09-10T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get users and Their Role and UserType</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1649226#M11628</link>
      <description>&lt;DIV&gt;users = gis.users.search(query="", max_users=10000, outside_org=False)&lt;/DIV&gt;&lt;DIV&gt;for user in users:&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; username=user.username&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; email=user.email&lt;BR /&gt;&amp;nbsp; &amp;nbsp;userType=user.userType&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; userLicenseType=user.userLicenseTypeId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; userRole=user.role&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;userType=&amp;gt; ""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;userLicenseTypeId =&amp;gt;&amp;nbsp;&lt;/SPAN&gt;GISProfessionalStdUT or CreatorUT&lt;/DIV&gt;&lt;DIV&gt;role =&amp;gt; org_Publiser or org_Viewer&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 03:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/get-users-and-their-role-and-usertype/m-p/1649226#M11628</guid>
      <dc:creator>VickyWang_COM</dc:creator>
      <dc:date>2025-09-10T03:53:18Z</dc:date>
    </item>
  </channel>
</rss>

