cc [flag...] file... -lX11 -lXtsol [library...] #include <X11/extensions/Xtsol.h> Status XTSOLgetWorkstationOwner(display, uidp); Display *display; uid_t *uidp;
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Returns a UID which is the current UID of the specified Display workstation server. Client must provide a pointer to uid_t.
The XTSOLgetWorkstationOwner() function retrieves the ownership of the workstation.
None.
Lack of privilege.
See attributes(5) for descriptions of the following attributes:
|
libXtsol(3LIB), XTSOLsetWorkstationOwner(3XTSOL), attributes(5)
Obtaining the X Window Server Workstation Owner ID in Trusted Extensions Developer’s Guide
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.