IFPRIV - terminate program if user is not privileged.

Usage:

B:
   ifpriv( privmask );
C:
   void ifpriv(int privmask);

Description:

IFPRIV terminates a program if the current user does not have all the privilege bits in "privmask". In batch "privmask" is ignored and the program is terminated if it does not have privity.

See Also:

expl b lib .priv
for the bit settings in "privmask".

Copyright © 1996, Thinkage Ltd.