Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: USRLFF

USRLFF.m

Go to the documentation of this file.
  1. USRLFF ;SLC/PKR - User Class file functions and proc's ;2/19/98
  1. ;;1.0;AUTHORIZATION/SUBSCRIPTION;**3**;Jun 20, 1997
  1. ;This is a library of file functions, mainly for other packages that
  1. ;need to access ASU data.
  1. ;======================================================================
  1. EVNTPTR(EVENT) ;Return pointer to event EVENT in the USR ACTION file.
  1. Q +$O(^USR(8930.8,"B",EVENT,0))
  1. ;
  1. ;======================================================================
  1. EVNTVERB(IEN) ;Return the verb for event with ien of IEN.
  1. Q $P($G(^USR(8930.8,IEN,0)),U,5)
  1. ;
  1. ;======================================================================
  1. HASAS(IEN) ;Return true if entry IEN has Authorizations/Subscriptions.
  1. I $D(^USR(8930.1,"B",IEN)) Q 1
  1. E Q 0
  1. ;
  1. ;======================================================================
  1. USRCLASS(IEN) ;Return the 0 node of USR CLASS.
  1. Q $G(^USR(8930,IEN,0))
  1. ;
  1. ;======================================================================
  1. USRROLE(ROLE) ;Return the IEN of role ROLE in the USR ROLE file.
  1. Q +$O(^USR(8930.2,"B",ROLE,0))
  1. ;