<?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: PrivCloud - User-related APIs return different IDs for same Username depending on which method is queried in Privilege Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375635#M4111</link>
    <description>&lt;P&gt;Hi @Bernhard Brückler​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my understanding, directly correlating d from /api/Users with memberId from the safes API isn't possible currently there is no direct mapping exposed via APIs between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you use username as a primary field for mapping users across API responses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 00:06:39 GMT</pubDate>
    <dc:creator>M.Vora780263</dc:creator>
    <dc:date>2025-06-11T00:06:39Z</dc:date>
    <item>
      <title>PrivCloud - User-related APIs return different IDs for same Username depending on which method is queried</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375634#M4110</link>
      <description>&lt;P&gt;I am currently writing a utility that retrieves data from my Privilege Cloud ISPSS tenant (such as user info, safe list, safe member info per safe) and sends it to another tool. During my tests, I saw that the information when it comes to user IDs is somewhat inconsistent between API methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: When querying the "&lt;I&gt;Get Users&lt;/I&gt;" API method, it returns the &lt;B&gt;id 8&lt;/B&gt; for the user "&lt;B&gt;CyberarkRotationService&lt;/B&gt;", but when querying the "&lt;I&gt;Get Safe Members&lt;/I&gt;" API method for an internal safe (such as &lt;I&gt;SharedAuth_Internal&lt;/I&gt;), the safe member with the name "&lt;B&gt;CyberarkRotationService&lt;/B&gt;" has the &lt;B&gt;id "51077119-844d-4c20-b214-5be5d035e499"&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone ran into an issue like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;"Get Users" API Output - Snippet&lt;/I&gt;&lt;/P&gt;&lt;CODE&gt;{
&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": 8,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "username": "CyberarkRotationService",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "source": "CyberArk",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "userType": "Built-InAdmins",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "componentUser": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "groupsMembership": [],
&amp;nbsp;&amp;nbsp;&amp;nbsp; "vaultAuthorization": [],
&amp;nbsp;&amp;nbsp;&amp;nbsp; "location": "\\",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "personalDetails": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "firstName": "",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "middleName": "",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "lastName": "",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "organization": "",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "department": ""
&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp; "enableUser": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "suspended": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "UUID": null
}&lt;/CODE&gt;&lt;P&gt;&lt;I&gt;"Get Safe Members" API Output - Snippet&lt;/I&gt;&lt;/P&gt;&lt;CODE&gt;{
    "isExpiredMembershipEnable": false,
    "isPredefinedUser": true,
    "isReadOnly": true,
    "memberId": "51077119-844d-4c20-b214-5be5d035e499",
    "memberName": "CyberarkRotationService",
    "memberType": "User",
    "membershipExpirationDate": null,
    "permissions": {
        "accessWithoutConfirmation": false,
        "addAccounts": true,
        "backupSafe": false,
        "createFolders": true,
        "deleteAccounts": true,
        "deleteFolders": true,
        "initiateCPMAccountManagementOperations": true,
        "listAccounts": true,
        "manageSafe": false,
        "manageSafeMembers": false,
        "moveAccountsAndFolders": true,
        "renameAccounts": true,
        "requestsAuthorizationLevel1": false,
        "requestsAuthorizationLevel2": false,
        "retrieveAccounts": true,
        "specifyNextAccountContent": true,
        "unlockAccounts": true,
        "updateAccountContent": true,
        "updateAccountProperties": true,
        "useAccounts": true,
        "viewAuditLog": true,
        "viewSafeMembers": true
    },
    "safeName": "SharedAuth_Internal",
    "safeNumber": 6,
    "safeUrlId": "SharedAuth_Internal"
}&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 18:56:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375634#M4110</guid>
      <dc:creator>B.Brckler554136</dc:creator>
      <dc:date>2025-06-10T18:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: PrivCloud - User-related APIs return different IDs for same Username depending on which method is queried</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375635#M4111</link>
      <description>&lt;P&gt;Hi @Bernhard Brückler​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my understanding, directly correlating d from /api/Users with memberId from the safes API isn't possible currently there is no direct mapping exposed via APIs between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you use username as a primary field for mapping users across API responses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 00:06:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375635#M4111</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-06-11T00:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: PrivCloud - User-related APIs return different IDs for same Username depending on which method is queried</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375636#M4112</link>
      <description>&lt;P&gt;Using the username as the identifier is my current workaround, but i don't like it, since i suspect it could lead to collisions if a user is deleted and then recreated with the same username (but obviously different ID).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For PAM Self-Hosted APIs I never had this issue, but the architecture is slightly different there.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 08:45:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375636#M4112</guid>
      <dc:creator>B.Brckler554136</dc:creator>
      <dc:date>2025-06-11T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: PrivCloud - User-related APIs return different IDs for same Username depending on which method is queried</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375637#M4113</link>
      <description>&lt;P&gt;Hadn't noticed that, how very confusing! I guess the difference lies under-the-hood. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PrivilegeCloud is still a Vault behind the scenes. So within a Vault (such as PrivilegeCloud) there are internal users which each have an Id, and can be marked as "local" or "external". Normally this would be hidden from view within the PrivilegeCloud ISPSS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CyberArk Identity is a separate IdP, which contains it's own internal database of users (Cloud Users) as well as permitting Federation with external directory services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So depending on the situation a user ID might represent the user's ID within the Cloud Directory, or it might represent the user's ID within an external directory if you are querying Identity APIs. Or if you are querying Privilege Cloud's vault APIs the ID might be the Vault's internal user ID representing that user. When dealing with multiple identity sources, it is always tricky to know how to join them up and what constitutes a truly unique identifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To further confuse matters, when an external user is coming in via SAML or OIDC the SAML claim might contain a unique identifier as well as a username attribute, which CyberArk Identity will faithfully record.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 09:34:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/privcloud-user-related-apis-return-different-ids-for-same/m-p/1375637#M4113</guid>
      <dc:creator>Jon_Musker</dc:creator>
      <dc:date>2025-06-12T09:34:49Z</dc:date>
    </item>
  </channel>
</rss>

