Show a user profile and group membership.
user info [ <name> ] [ --batch ]
Name of the user to display.
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.
Display output in UDL format.
user info user1
Show information for local user 'user1'
Group names pre-pended with ‘/’ (global groups) are not yet supported on CA AppLogic for System z®. Providing a group name pre-pended with a ‘/’ will result in an error indicating the group does not exist.
If the <name> option is not specified then the command outputs information for the current user. If the current user is a maintainer, then the command fails with the message Executing this command without the <name> option requires logging in as a regular user. Information can only be obtained for users who have login permission on the grid ACL. The output of this command is as follows:
1. Non-batch output:
[root@AV-QA4 ~]# 3t user info sq Comment = E-mail Address = User ID = a53ccc4d-4c42-4226-ae61-a12ba298cb63 Locale = en_US Login Name = sq Real Name = Scope = local --- Group Membership Information --- ID Scope Type Name --------------------------------------------------------- a5cb10bc-7291-4a86-84f8-74419fc9ae63 local group admin 6ae5f07f-319a-41a9-bd6e-adc661799b7e local group c 68aa7de9-d2e4-4f83-af6c-256efdac4c01 local group b 8f343686-fd89-447e-9d56-ea0f5f2b09c4 local group a
1. Batch output:
[root@AV-QA4 ~]# 3t user info sq -b
user
{
comment = ""
email = ""
id = a53ccc4d-4c42-4226-ae61-a12ba298cb63
locale = en_US
loginname = sq
realname = ""
scope = local
group_membership
[
id=a5cb10bc-7291-4a86-84f8-74419fc9ae63, scope=local, type=group, name=admin
id=6ae5f07f-319a-41a9-bd6e-adc661799b7e, scope=local, type=group, name=c
id=68aa7de9-d2e4-4f83-af6c-256efdac4c01, scope=local, type=group, name=b
id=8f343686-fd89-447e-9d56-ea0f5f2b09c4, scope=local, type=group, name=a
]
}
|
Copyright © 2013 CA.
All rights reserved.
|
|