[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_ISSUPEQ()
Determine if connection/user is SUPERVISOR-equivalent
------------------------------------------------------------------------------
Syntax
fn_IsSupEq( [ <nConn> | <cUserName> ] ) -> lSuper_Equal
Arguments
<nConn> a numeric logical connection number of a station.
.or.
<cUserName> a character user name of a user.
If ommited defaults to the user of the current station.
Returns
If a connection number is passed as the argument:
Returns .T. if the user logged in at that station has Supervisor
equivalence, .F. if they do not.
If a user name is passed as the argument:
Returns .T. if the user is a Supervisor equivalent
.F. if they are not.
Description
This is a high-level wrapper of fn_bndoins() which tests for
Supervisor Equvalence.
Examples
qout( fn_whoami(5)+" is "+if(fn_IsSupEq(5),"","not ")+"a Supervisor." )
qout( "Joe is "+if(fn_IsSupEq("JOE"),"","not ")+"a Supervisor." )
Source: N:\SRC\BINDERY\ISSUPEQ.PRG
Author: Rodgers Moore
See Also:
fn_bndoins()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson