Server protocol:SVSO command

The SVSO command is used by services to grant a user Oper privileges.

For server writers
Below is technical documentation for server/services coders:

Syntax


Where:
 * uid|nick: The nick or UID of the target user.
 * oper account: The oper-name as it would have been shown in an  block. Doesn't have to match an actual Oper block.
 * operclass: The oper-class which this oper should use. E.g.,   etc. Must be a valid oper-class.
 * class: Optional, the client class that this oper should inherit. E.g.,   etc.
 * modes: Optional, the modes to be set on the user. E.g.,   etc.
 * snomask: Optional, the snomask to be set on the user. E.g..
 * vhost: Optional, the vhost to be set on the user. E.g..

Notes:
 * Items marked Optional must be specified, and if you want to skip them, you should specify  (hyphen) in it's place.
 * If 'oper account' references an operblock which does not exist, their oper will be visible as prefixed with  in their /WHOIS

Examples
Oper the user Syzop as Syzop (netadmin-with-override) without specifying modes or snomask: SVSO Syzop Syzop netadmin-with-override opers - - i.am.an.oper Oper the user Valware as Bob (netadmin) without specifying any optional parameters: SVSO Valware Bob netadmin - - - -

Removal
If you wish to de-oper somebody, you should use

Purpose
The purpose of this command is for services packages to be able to grant oper permissions to users. This is handy for being able to dynamically select opers through your services package instead of having to mess with oper blocks. Currently this is used by Dalek Services to be able to grant oper permissions via WordPress.