Function NnetPsAcc() Foundation

Determines access rights to a print server.

Syntax
NnetPsAcc( <cPrintServer>            , ;  // Type:  C
           [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
         ) --> nAccessRights
Return

Returns a numeric value that indicates access rights:

Return values of NnetPsAcc()
Value Description
-1 Error occured
0 Limited access
1 User access
2 Operator access

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.