Previous Topic: list (User Management)--Show List of UsersNext Topic: user get_newobj_acl (User Management) Display New Object ACL Definition for a User or Principal


info (User Management)--Show a User's Profile

Show a user profile, group membership, and the new object ACL definition associated to the user (if any).

Syntax
user info [ <name> ] [ --batch ]
Parameters
<name>

Name of the user to display; prepend the user name with / to indicate a global user.

If the local user name begins with '-' (for example, '--myname'), the <name> argument must be preceded with '--' (for example, '-- --myname').

If the user name is not supplied, information is returned for the user executing the command.

--batch

Display output in UDL format.

Example
user info user1

Show information for local user 'user1'

Output

Non-batch output:

Comment        : <val>
E-mail Address : <val>
User ID        : <val>
Locale         : <val>
Login Name     : <val>
Real Name      : <val>
Scope          : <val>
Primary Group  : <val>   # scope type name

--- Group Membership Information ---
ID                                    Scope  Type   Name
---------------------------------------------------------
<val>                                 <val>  <val>  <val>
...
<val>                                 <val>  <val>  <val>

--- New Object ACL Owner Information ---
ID                                    Scope  Type   Name
------------------------------------------------------------------------------
<val>                                 <val>  <val>  <val>

--- New Object ACL Entry Information ---
ID                                    Scope  Type   Name   Access
------------------------------------------------------------------------------
<val>                                 <val>  <val>  <val>  <val>
...
<val>                                 <val>  <val>  <val>  <val>

Batch output:

user
   {
   comment         = <val>
   email           = <val>
   id              = <val>
   locale          = <val>
   loginname       = <val>
   realname        = <val>
   scope           = <val>
   primary_group   = <val>   # scope type name
   group_membership
      [
      id=<val>, scope=<val>, type=<val>, name=<val>
      ...
      id=<val>, scope=<val>, type=<val>, name=<val>
      ]
   newobj_acl
      {
      owner: id = <val>   # scope type name
      entries
         [
         id = <val>,  access_level1, ... access_levelN, permission1, ... permissionN   # scope type name
         ...
         id = <val>,  access_level1, ... access_levelN, permission1, ... permissionN   # scope type name
         ]
      }
   }