JANUS DEFINEUSGROUP: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 31: Line 31:


[[Category:Janus commands|JANUS DEFINEUSGROUP]]
[[Category:Janus commands|JANUS DEFINEUSGROUP]]
[[Category:Sirius commands|JANUS DEFINEUSGROUP]]

Revision as of 00:13, 1 July 2011

<section begin="desc" />Create a group of user ids.<section end="desc" />

This command creates a named group which contains any number of user IDs. The USGROUP can then be used to control web access or CLSOCK access based on groups of users instead of individual user IDs.

Syntax

<section begin="syntax" /> JANUS DEFINEUSGROUP groupname userid(s) <section end="syntax" />

JANUS DEFINEUSGROUP command syntax

Where each parameter is positional and required:

groupname A 1 - 30 character name of the group with which user IDs are being associated for ALLOW and DISALLOW rules in JANUS WEB or JANUS CLSOCK commands.
user id(s) A list of Model 204 user IDs. User IDs may be wildcarded using the wildcard characters described at the beginning of the chapter.

The DEFINEUSGROUP command may be abbreviatedDEFUSGROUP, DEFUSG, orDEFINEUSG.

The following command associates the user group name CLOWNS with the user ID MILKY and with all user IDs starting with BOZO:

JANUS DEFUSG CLOWNS MILKY BOZO*

See: Janus command list