JANUS DEFINEUSGROUP: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:JANUS DEFINEUSGROUP}}
{{DISPLAYTITLE:JANUS DEFINEUSGROUP}}
<span class="pageSubtitle"><section begin="desc" />DEFINEUSGROUP<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Create a group of user ids.<section end="desc" /></span>


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==


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 user ID.
==Syntax==
<p class="syntax"><section begin="syntax" /> JANUS DEFINEUSGROUP groupname userid(s)
<p class="syntax"><section begin="syntax" /> JANUS DEFINEUSGROUP groupname userid(s)
<section end="syntax" /></p>
<section end="syntax" /></p>
Line 11: Line 11:
</p>
</p>


Where each parameter is positional and required:


Where each parameter is positional and required:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>groupname</th>
<tr><th>groupname</th>
Line 18: Line 18:
<tr><th>user id(s)</th>
<tr><th>user id(s)</th>
<td>A list of ''Model 204'' user IDs. User IDs may be wildcarded using the wildcard characters described at the beginning of the chapter.
<td>A list of ''Model 204'' user IDs. User IDs may be wildcarded using the wildcard characters described at the beginning of the chapter.
</td></tr></table>
</td></tr>
</table>
 
The DEFINEUSGROUP command may be abbreviated<code>DEFUSGROUP</code>, <code>DEFUSG</code>, or<code>DEFINEUSG</code>.  
The DEFINEUSGROUP command may be abbreviated<code>DEFUSGROUP</code>, <code>DEFUSG</code>, or<code>DEFINEUSG</code>.  


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


The following command associates the user group name CLOWNS with the user ID MILKY and with all user IDs starting with BOZO:
<p class="code"> JANUS DEFUSG CLOWNS MILKY BOZO*
<p class="code"> JANUS DEFUSG CLOWNS MILKY BOZO*
</p>
</p>


See: [[List_of_Janus_commands|Janus command list]]


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

Revision as of 20:33, 28 February 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