When I export a user I find values like:

  <department></department>
  
<domain_entry_id>39323336363566612D373333622D346532612D396530632D316630396536643634636432</domain_entry_id>
  <email></email>
  <last_name></last_name>
  <name>admin</name>
  <namespace>*</namespace>
  <principal>admin</principal>
  <user_name>admin@internal-authz</user_name>
  <domain href="/ovirt-engine/api/domains/696E7465726E616C2D617574687A" 
id="696E7465726E616C2D617574687A">
    <name>internal-authz</name>
  </domain>
  <permissions 
href="/ovirt-engine/api/users/0000001a-001a-001a-001a-0000000003b4/permissions"/>
  <roles 
href="/ovirt-engine/api/users/0000001a-001a-001a-001a-0000000003b4/roles"/>
  <ssh_public_keys 
href="/ovirt-engine/api/users/0000001a-001a-001a-001a-0000000003b4/sshpublickeys"/>
  <tags 
href="/ovirt-engine/api/users/0000001a-001a-001a-001a-0000000003b4/tags"/>

They are the same that one defined from the type in sdk 
(http://ovirt.github.io/ovirt-engine-sdk/master/types.m.html#ovirtsdk4.types.User).

If I look in 
http://www.ovirt.org/documentation/admin-guide/appe-Using_Search_Bookmarks_and_Tags/,
 I see fields like pool, group that I don't map to fields in the type.

In the search bar in the UI, I also see fields like login, directory or type. 
The mapping is less obvious, even if I can guess that login maps to principal.

But I wonder why such name discrepancy exists and if they are documented 
somewhere.
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to