These routines get and set the user ID for the owner of the workstation server. Refer to the XTSOLgetWorkstationOwner(3) and XTSOLsetWorkstationOwner(3) man pages.
XTSOLsetWorkstationOwner(3) is reserved for the Window Manager.
Status XTSOLgetWorkstationOwner(Display *display, uid_t *uidp); void XTSOLsetWorkstationOwner(Display *display, uid_t *uidp);