cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 9
Report Inappropriate Content
Message 1 of 3

How to use "userdirectory.getAttribute" command.

Jump to solution

Hello,

I understand the parameter of "userdirectory.getAttribute" are following.

- itemDn/itemId

- attribName

I would like to know what is the "attribName" we can specify. Logon name, Display name, User account control?

I tried following Web API command, the results is "The required attribute is not found"...

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=logon%20name

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=logonname

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=Logon%20name

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=Logonname

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=display%20name

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=displayname

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=Display%20name

https://<ePO IP address>:8443/remote/userdirectory.getAttribute?itemDn=cn=test,ou=User,dc=epo,dc=local&attribName=Displayname

Thanks,

1 Solution

Accepted Solutions
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: How to use "userdirectory.getAttribute" command.

Jump to solution

Userdirectory only has a limited number of attributes. The only attribute with any value that can be exported is "username". The username attribute is the value set for "Logon Name". The output will be in hex padded with 00 values:

7400:6500:7300:7400:7500:7300:6500:7200

(t e s t u s e r)

All other attributes are unreadable. The full list of attributes are are:

InternalNetBiosServerID

InternalLdapUniqueID

userAccountControl

username

domainName

View solution in original post

2 Replies
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: How to use "userdirectory.getAttribute" command.

Jump to solution

Userdirectory only has a limited number of attributes. The only attribute with any value that can be exported is "username". The username attribute is the value set for "Logon Name". The output will be in hex padded with 00 values:

7400:6500:7300:7400:7500:7300:6500:7200

(t e s t u s e r)

All other attributes are unreadable. The full list of attributes are are:

InternalNetBiosServerID

InternalLdapUniqueID

userAccountControl

username

domainName

View solution in original post

Highlighted
Level 9
Report Inappropriate Content
Message 3 of 3

Re: How to use "userdirectory.getAttribute" command.

Jump to solution

Thank you! I was able to get username!!

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community