LOGGRP command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
<dd>Lists group entries in the password table, including privileges but not passwords
<dd>Lists group entries in the password table, including privileges but not passwords
</dl>
</dl>
==Syntax==
==Syntax==
<p class="syntax">LOGGRP [<i>groupname1</i>] [,<i>groupname2</i>]
<p class="syntax">LOGGRP [<span class="term">groupname1</span>] [,] [<span class="term">groupname2</span>]
</p>
</p>
   
   
<b>Where:</b>
Where:
<p>groupname1 and groupname2 are the names of groups in the password table.</p>
<p>
<table>
<var class="term">groupname1</var> and <var class="term">groupname2</var> are the names of groups in the password table.</p>
 
<table>
<tr> <th>
<tr class="head"> <th>
<p>If specifying... </p>
<p>If specifying... </p>
</th> <th>
</th> <th>
<p><var class="product">Model&nbsp;204</var> lists...</p>
<p>Model&nbsp;204 lists...</p>
</th> </tr>
</th> </tr>
    
    
<tr> <th><var>
<tr> <th><p><var>Neither</var> groupname1 <var>nor</var> groupname2 </p></th>  
<p>Neither groupname1 nor groupname2 </p>
<td><p>All group entries in the password table.</p></td> </tr>
</var></th> <td>
<p>All group entries in the password table.</p>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th><p><var>Only</var> groupname1 </p></th>  
<p>Only groupname1 </p>
<td><p>Entries for that group.</p></td> </tr>
</var></th> <td>
<p>Entries for that group.</p>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th><p><var>Only</var> groupname2 </p></th> <td>
<p>Only groupname2 </p>
<p>Group entries starting at the beginning of the password table and extending through the groupname2 entry.</p></td> </tr>
</var></th> <td>
<p>Group entries starting at the beginning of the password table and extending through the groupname2 entry.</p>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th><p><var>Both</var> groupname1 <var>and</var> groupname2 </p></th>  
<p>Both groupname1 and groupname2 </p>
<td><p>Entries starting at the <var class="term">groupname1</var> entry and extending through the <var class="term">groupname2</var> entry. The comma is required if only <var class="term">groupname2</var> is specified. Otherwise, either a comma or one or more blanks can be specified.</p>
</var></th> <td>
</td> </tr>  
<p>Entries starting at the groupname1 entry and extending through the groupname2 entry. The comma is required if only groupname2 is specified. Otherwise, either a comma or one or more blanks can be specified.</p>
</td> </tr>
 
</table>
</table>
==Example==
==Example==
<p class="code">LOGGRP
<p class="code">LOGGRP
Line 51: Line 41:
LOGGRP REGIONS, SYSTEMS
LOGGRP REGIONS, SYSTEMS
</p>
</p>
==Usage notes==
==Usage notes==
<p>The LOGGRP command lists one or more group entries in the password table. The list is produced in alphabetical order.</p>
<p>
<p>Each group entry displayed by LOGGRP has the following format:</p>
The <var>LOGGRP</var> command lists one or more group entries in the password table. The list is produced in alphabetical order.</p>
<p>
Each group entry displayed by <var>LOGGRP</var> has the following format:</p>
<p class="code"><i>groupname</i> <i>index</i> <i>password</i> X'<i>pppp</i>' <i>nnn</i>, <i>sss</i>, <i>rrr</i>, <i>uuu</i>, <i>aaa</i>, <i>terminals</i>  
<p class="code"><i>groupname</i> <i>index</i> <i>password</i> X'<i>pppp</i>' <i>nnn</i>, <i>sss</i>, <i>rrr</i>, <i>uuu</i>, <i>aaa</i>, <i>terminals</i>  
</p>
</p>
   
   
<b>Where:</b>
Where:
<table>  
<table>  
<tr>
<tr>
<th>groupname</th>
<th>groupname</th>
<td> is the name of the group. For Model 204 7.5 and later and for SirSafe customers before Model 204 7.5, the group name will be preceded by a comma or plus sign, as was used on the LOGCTL command that created the entry. A plus sign indicates a SirSafe controlled visible password.</td>
<td>The name of the group. For Model 204 7.5 and later, and for <var class="product">[[SirSafe]]</var> customers before Model 204 7.5, the group name is preceded by a comma or plus sign, as was used on the <var>LOGCTL</var> command that created the entry. A plus sign indicates a SirSafe-controlled visible password.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>index</th>
<th>index</th>
<td> is the group index if more than one group has the same name.</td>
<td>The group index, if more than one group has the same name.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>password</th>
<th>password</th>
<td> is the password for the entry. For non-SirSafe customers, password would not be be present before Model 204 7.5 and would always be displayed as ******** in Model 204 7.5 and later. For SirSafe customers, ******** would be displayed for the password if the password is not a SirSafe controlled password and the actual password will be displayed if it is a SirSafe controlled password.</td>
<td>The password for the entry. For non-SirSafe customers, password is not present before Model 204 7.5; in Model 204 7.5 and later, it is always displayed as <code>********</code>. For SirSafe customers, <code>********</code> is displayed for the password if the password is not a SirSafe-controlled password, and the actual password is displayed if it is a SirSafe-controlled password.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>pppp</th>
<th>pppp</th>
<td> is the two-byte representation of the group privileges.</td>
<td>The two-byte representation of the group privileges.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>nnn</th>
<th>nnn</th>
<td> is the procedure user class.</td>
<td>The procedure user class.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>sss</th>
<th>sss</th>
<td> is the field-level security SELECT level.</td>
<td>The field-level security SELECT level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>rrr</th>
<th>rrr</th>
<td> is the field-level security READ level.</td>
<td>The field-level security READ level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>uuu</th>
<th>uuu</th>
<td> is the field-level security UPDATE level.</td>
<td>The field-level security UPDATE level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>aaa</th>
<th>aaa</th>
<td> is the field-level security ADD level.</td>
<td>The field-level security ADD level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>terminals</th>
<th>terminals</th>
<td> is ALL, NONE, or a list of authorized terminals. </td>
<td><var>ALL</var>, <var>NONE</var>, or a list of authorized terminals. </td>
</tr>
</tr>
</table>
</table>
[[Category: System manager commands]]
[[Category: System manager commands]]
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 12:20, 21 April 2019

Summary

Privileges
System manager
Function
Lists group entries in the password table, including privileges but not passwords

Syntax

LOGGRP [groupname1] [,] [groupname2]

Where:

groupname1 and groupname2 are the names of groups in the password table.

If specifying...

Model 204 lists...

Neither groupname1 nor groupname2

All group entries in the password table.

Only groupname1

Entries for that group.

Only groupname2

Group entries starting at the beginning of the password table and extending through the groupname2 entry.

Both groupname1 and groupname2

Entries starting at the groupname1 entry and extending through the groupname2 entry. The comma is required if only groupname2 is specified. Otherwise, either a comma or one or more blanks can be specified.

Example

LOGGRP LOGGRP REGIONS LOGGRP ,SYSTEMS LOGGRP REGIONS, SYSTEMS

Usage notes

The LOGGRP command lists one or more group entries in the password table. The list is produced in alphabetical order.

Each group entry displayed by LOGGRP has the following format:

groupname index password X'pppp' nnn, sss, rrr, uuu, aaa, terminals

Where:

groupname The name of the group. For Model 204 7.5 and later, and for SirSafe customers before Model 204 7.5, the group name is preceded by a comma or plus sign, as was used on the LOGCTL command that created the entry. A plus sign indicates a SirSafe-controlled visible password.
index The group index, if more than one group has the same name.
password The password for the entry. For non-SirSafe customers, password is not present before Model 204 7.5; in Model 204 7.5 and later, it is always displayed as ********. For SirSafe customers, ******** is displayed for the password if the password is not a SirSafe-controlled password, and the actual password is displayed if it is a SirSafe-controlled password.
pppp The two-byte representation of the group privileges.
nnn The procedure user class.
sss The field-level security SELECT level.
rrr The field-level security READ level.
uuu The field-level security UPDATE level.
aaa The field-level security ADD level.
terminals ALL, NONE, or a list of authorized terminals.