Previous Topic: &NDBRID

Next Topic: &NEWSRSET


&NEWSAUTH

Indicates whether a user is authorized for NEWS functions.

An NCL procedure might want to determine whether the user who invoked it is authorized to use NEWS functions. &NEWSAUTH is set to NO if the user ID definition of the user does not include NEWS authorization and YES if it does.

Example: &NEWSAUTH

&IF &NEWSAUTH = YES &THEN +
  &GOTO .OK 
&ELSE +
  &GOTO .REJECT