Unassign, Whoami – APC Command Line Interface User Manual

Page 17

Advertising
background image

Command Reference: User Management

Command Line Interface (CLI) User’s Guide

13

unassign

Syntax:

unassign outlet|range[,outlet|range...] user_name

Description:

Remove access to specified outlets

from a user configured in the local database.
(Outlet permissions for RADIUS-defined users can
be removed only at the RADIUS server.)

Access:

Administrator only

Parameters:

Example:

Remove access to outlets 1, 2, 3, 5, and 7 from the
outlet user whose user name is john_reynolds.

unassign 1-3,5,7 john_reynolds

Output Format (for the preceding example):

OK
1: Outlet no longer assigned to john_reynolds.
2: Outlet no longer assigned to john_reynolds.
3: Outlet no longer assigned to john_reynolds.
5: Outlet no longer assigned to john_reynolds.
7: Outlet no longer assigned to john_reynolds.

Error Messages:

E101, E103, E104

whoami

Syntax:

whoami

Description:

Display the user name of the active

user.

Access:

All three account types with CLI access.

Parameters:

None.

Output Format:

OK

active_user’s_name

outlet An

outlet

number.

range

A range of outlet numbers, with a

hyphen separating the starting number

from the ending number.

user_name A user configured in the local database.

Advertising