Specifications
B-13
Cisco NAC Appliance - Clean Access Manager Configuration Guide
OL-28003-01
Appendix B API Support
OOB Switch Management Operations
• Success: mesg value of 0; <!--count=10--> shows the number of users returned and is followed by
same number of comments of form <!--NAME=jdoe,ROLE=Student-->
• Failure: error string
addlocaluser
The addlocaluser function adds a new local user account.
Required In Parameters:
• op: addlocaluser
• username: Specifies a new local user account user name.
• userpass: Specifies the user password for the new local user account.
• userrole: Specifies the role for the new local user account.
Note If you do not use session-based authentication, the admin and passwd arguments are required. See
Authentication Requirements, page B-2.
Out Parameters: <!--error=mesg--> comment
• Success: mesg value of 0
• Failure: error string
deletelocaluser
The deletelocaluser function deletes one or all local user accounts.
Required In Parameters:
• op: deletelocaluser
• qtype: Specifies the data type: 'name' or 'all'
• qval: Specifies the exact username in single quotes or an empty string (‘’) to indicate “all.”
Note If you do not use session-based authentication, the admin and passwd arguments are required. See
Authentication Requirements, page B-2.
Out Parameters: <!--error=mesg--> comment
• Success: mesg value of 0
• Failure: error string
OOB Switch Management Operations
You can manage switch ports to which users are connected with the following OOB management
functions:
• bounceport, page B-14