[Back to index]





UAI Utilities

Utilities to get information from SYSUAF.



Click to view, then save with COM extension


Absolute Agency Dating Service

Here you've got two Pascal utilities: UAI v. 1.0 UAI_TO_SYMBOL v. 1.0 UAI and UAI_TO_SYMBOL are two utilities to obtain information from SYSUAF about one user. UAI is for interactive use; UAI_TO_SYMBOL is intended to be used within DCL command procedures (but you can use it interactively as well). You also have: GET_UAI.PAS v.1.20 GET_UAI is a Pascal [External] Function, which interfaces UAI and
UAI_TO_SYMBOL with the $GETUAI System Services.

You will find both ALPHA and VAX EXEs and OBJs, and an (unsupported) command
procedure to build id if you have a PASCAL compiler.

1) UAI You can use the UAI utility to interactively obtain information about one user from SYSUAF. Use the UAI command followed by ; UAI will require ONE username and ONE SYSUAF field. Here's an example: $ UAI USERNAME: system REQUESTED Field: lastlogin_I --------------------------------- USERNAME SYSTEM LASTLOGIN_I 29-NOV-1993 08:14:17.07 To obtain a list of the supported sysuaf field, use the command: $ UAI/HELP

You can find a full description for every field looking for the $GETUAI System Service documentation, into System Services Reference Manual. RESTRICTIONS: there is a known restriction when using PRIV and DEF_PRIV field: GRPPRV, READALL and SECURITY privileges are *NOT* recognized.

2) UAI_TO_SYMBOL UAI_TO_SYMBOL does exactly what UAI does, but putting output into a DCL symbol instead of to the standard output. It's intended to be executed within command procedures. This is the calling format: $ UAI_TO_SYMBOL username,field,symbol_name Now two examples. First example: $ UAI_TO_SYMBOL user,flags,result $ SHOW SYMBOL result RESULT = "Defcli,Lockpwd,Disuser"

econd example (you can also use UAI_TO_SYMBOL to confirm existence of an username): $ UAI_TO_SYMBOL user,USERNAME,check_user $ IF check_User .eqs. "" then goto No_Such_User RESTRICTIONS: there is a known restriction when using PRIV and DEF_PRIV field: GRPPRV, READALL and SECURITY privileges are *NOT* recognized.

----------------------- Send any comment or suggestion to: franco.brunetta@libero.it This utility has been developed under OpenVMS VAX 5.5-2. It works fine with OpenVMS AXP 7.2, but some 7 .* feature could be not supported. For example: flags AUDIT, EXTAUTH are not recognized. Modifications are possibile if you need them - contact me.

 

 

 

Author - GNU license ...

Top Access Sites on
Anzwers
your free home.
Free 60 Mb on
Anzwers
your free home.

Search on Anzwers
Top Quality Sites on Anzwers
your free home.