USER SHOW

Level

base

Description

Show an user's information

Implementation notes

A call to fw_ldap_get_object() or fw_ldap_get_attr() if attribute specified.

Usage

user=<User ID>|<User DN> [attribute=<attribute>] [domainname=<domain>]

Returns

[User]
attribute=value
If an attribute have many values, they will be indexed:
attribute=value
attribute_2=value
attribute_3=value

Remark

Need USER or ADMIN rights for most attributes, except for UID, MAIL, SN, CN and givenname.

Example

USER SHOW "cn=Jean DUPONT,ou=users,o=stormshield,dc=int" mail
[User]
mail="jean.dupont@stormshield.eu"

USER SHOW jd
[User]
givenName="Jean"
objectClass="top"
objectClass_2="person"
objectClass_3="organizationalPerson"
objectClass_4="inetOrgPerson"
objectClass_5="StormshieldPerson"
uid="jd"
mail="jean.dupont@stormshield.eu"
cn="Jean DUPONT"
telephoneNumber="63"
sn="DUPONT"