Change Server Guest (QZLSCHSG) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change Server Guest (QZLSCHSG) API changes the user profile used by the IBM® i Support for Windows® Network Neighborhood (IBM i NetServer™) server when an unknown user requests access to shared resources on the system. The changes made with this API do not take effect until the server is restarted.

A user profile with any special authority cannot be specified as the guest profile.


Authorities and Locks

To use this API, you must have both *IOSYSCFG and *SECADM special authorities.

Guest user profile
*USE

Required Parameter Group

Guest user profile
INPUT; CHAR(10)

The user profile for the IBM i Support for Windows Network Neighborhood server access by unknown users. If this field is blank, unknown users will not have access to resources on the system.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V4R2

[ Back to top | Server Support APIs | APIs by category ]