XTSOLgetWorkstaTrustedeExtensions to X WindowsXTSOLgetWorkstationOwner(3XTSOL)NAMEXTSOLgetWorkstationOwner - get the ownership of the workstation
SYNOPSIS
cc [flag...] file... -lX11 -lXtsol [library...]
#include <X11/extensions/Xtsol.h>
Status XTSOLgetWorkstationOwner(display, uidp);
Display *display;
uid_t *uidp;
PARAMETERS
display Specifies a pointer to the Display structure; returned from
XOpenDisplay().
uidp Returns a UID which is the current UID of the specified Dis‐
play workstation server. Client must provide a pointer to
uid_t.
DESCRIPTION
The XTSOLgetWorkstationOwner() function retrieves the ownership of the
workstation.
RETURN VALUES
None.
ERRORS
BadAccess Lack of privilege.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌───────────────────────────┬───────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├───────────────────────────┼───────────────────────────────┤
│Interface Stability │ Committed │
├───────────────────────────┼───────────────────────────────┤
│MT-Level │ Unsafe │
└───────────────────────────┴───────────────────────────────┘
SEE ALSOlibXtsol(3LIB), XTSOLsetWorkstationOwner(3XTSOL), attributes(5)
Obtaining the X Window Server Workstation Owner ID in Solaris Trusted
Extensions Developer's Guide
NOTES
The functionality described on this manual page is available only if
the system is configured with Trusted Extensions.
SunOS 5.10 20 Jul 2007 XTSOLgetWorkstationOwner(3XTSOL)