selang Reference Guide › selang Commands › selang Commands Reference › show[x]usr Command—Display User Properties
show[x]usr Command—Display User Properties
Valid in the AC environment
The show[x]usr command displays the values of all the properties of one or more users defined to CA ControlMinder.
Use showusr to display the properties of internal users. Use showxusr to display the properties of enterprise users.
Note: The showusr command also exists in the native environment but operates differently there.
You can always list the properties of your own user record. To list properties of another user's record, one of the following conditions must be true:
- You are the owner of the user record.
- You have at least one of the following attributes: ADMIN, AUDITOR, and OPERATOR.
- The user record is within the scope of a group in which you have at least one of the following group attributes: ADMIN, AUDITOR, OPERATOR.
- You are assigned read authority in the access control list of the USER record in the ADMIN class.
This command has the following format:
{showusr|su |showxusr |sxu } [ {userName |(userName [,userName...]) } ] \
[addprops(propName [,propName...])] \
[next] \
[props( all | propName [,propName...])] \
[useprops(propName[,propName...])] \
[nt|unix]
- addprops(propName [,propName...])
-
Defines properties to be added to the current ruler A ruler is a list of properties to be displayed. Each class has one ruler. If a ruler is defined for a class, when you request a list of property values for a record (for example with a selang show command), by default CA ControlMinder only shows the properties defined in the ruler. for this query only.
- next
-
Displays parts of the requested data. This option is useful when the query data is larger than the set query size.
The maximum query size is determined by the query_size configuration setting. The query size default is set at 100.
- nt
-
Displays the user Windows' properties in addition to the properties in the database.
- props(all|propName [,propName ...])
-
Defines a new ruler A ruler is a list of properties to be displayed. Each class has one ruler. If a ruler is defined for a class, when you request a list of property values for a record (for example with a selang show command), by default CA ControlMinder only shows the properties defined in the ruler. for this class for this query and future queries.
- unix
-
Displays the user's UNIX properties in addition to the properties in the database.
- userName
-
Defines the name of a user. It can include wildcard characters CA ControlMinder recognizes wildcard characters for some names. Where it does so, the wildcards it recognizes are * and ?. The * character represents any number of any characters, including no characters; the ? character represents one instance of any character..
On UNIX, to display the properties of a single user record whose name contains a special character or space, type an extra slash (/) before the group name.
If you do not specify userName, the command displays the properties of your own user record.
- useprops(propName [,propName ...])
-
Defines a ruler A ruler is a list of properties to be displayed. Each class has one ruler. If a ruler is defined for a class, when you request a list of property values for a record (for example with a selang show command), by default CA ControlMinder only shows the properties defined in the ruler. for this query only. The class ruler is unaffected.
Examples
- The user root wants to list the properties of enterprise user Robin. The root has ADMIN and AUDITOR attributes.
showxusr Robin
- The user root wants to list the user properties of enterprise users Robin and Leslie. The root has ADMIN and AUDITOR attributes.
showxusr (Robin,Leslie)
More information:
rm[x]usr Command—Delete User Records
ch[x]usr Command—Change User Properties
showusr Command—Display Native User Properties
Copyright © 2013 CA Technologies.
All rights reserved.
|
|