'\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .TH XTSOLgetWorkstationOwner 3XTSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions to X Windows Library Functions" .SH NAME XTSOLgetWorkstationOwner \- get the ownership of the workstation .SH SYNOPSIS .LP .nf \fBcc\fR [\fIflag\fR...] \fIfile\fR... \fB-lX11\fR \fB-lXtsol\fR [\fIlibrary\fR...] #include \fBStatus XTSOLgetWorkstationOwner\fR(\fIdisplay\fR, \fIuidp\fR); Display *\fIdisplay\fR; uid_t *\fIuidp\fR; .fi .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIdisplay\fR\fR .ad .RS 11n .rt Specifies a pointer to the \fBDisplay\fR structure; returned from \fBXOpenDisplay()\fR. .RE .sp .ne 2 .mk .na \fB\fIuidp\fR\fR .ad .RS 11n .rt Returns a \fBUID\fR which is the current \fBUID\fR of the specified \fBDisplay\fR workstation server. Client must provide a pointer to \fBuid_t\fR. .RE .SH DESCRIPTION .sp .LP The \fBXTSOLgetWorkstationOwner()\fR function retrieves the ownership of the workstation. .SH RETURN VALUES .sp .LP None. .SH ERRORS .sp .ne 2 .mk .na \fBBadAccess\fR .ad .RS 13n .rt Lack of privilege. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.6i) |cw(2.9i) lw(2.6i) |lw(2.9i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelUnsafe .TE .SH SEE ALSO .sp .LP \fBlibXtsol\fR(3LIB), \fBXTSOLsetWorkstationOwner\fR(3XTSOL), \fBattributes\fR(5) .sp .LP \fIObtaining the X Window Server Workstation Owner ID\fR in \fITrusted Extensions Developer\&'s Guide\fR .SH NOTES .sp .LP The functionality described on this manual page is available only if the system is configured with Trusted Extensions.