Deleting a user account, Unlocking a user account – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 210

178
Network OS NETCONF Operations Guide
53-1003231-02
User accounts
15
Deleting a user account
1. Issue the <edit-config> RPC to configure the <username> node in the
urn:brocade.com:mgmt:brocade-aaa namespace.
2. In the <username> element tag, include the delete operation.
3. Under the <username> node, include the <name> element and identify the user you want to
delete.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="805" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<username xmlns="urn:brocade.com:mgmt:brocade-aaa"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
<name>testUser</name>
</username>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="805" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
All active login sessions for a user are terminated when a user account is deleted.
Unlocking a user account
A user account is automatically locked by the system when the configured threshold for repeated
failed login attempts has been reached. Refer to
on page 192 for more
information.
To unlock a locked user account, issue the <user>/<unlock> custom action located in the
urn:brocade.com:mgmt:brocade-aaa namespace.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="806">
<nca:action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">
<nca:data>
<user xmlns="urn:brocade.com:mgmt:brocade-ras">
<unlock>
<username>testUser</username>
</unlock>
</user>
</nca:data>
</nca:action>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="806">
<data>
<user xmlns="urn:brocade.com:mgmt:brocade-ras">
<unlock>
<Result>Success</Result>
</unlock>
</user>