'\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .TH XTSOLsetWorkstationOwner 3XTSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions to X Windows Library Functions" .SH NAME XTSOLsetWorkstationOwner \- set 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 XTSOLsetWorkstationOwner\fR(\fIdisplay\fR, \fIuidp\fR); Display *\fIdisplay\fR; uid_t *\fIuidp\fR; XTSOLClientAttributes *\fIclientattrp\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 Specifies a pointer to a \fBuid_t\fR structure that contains a \fBUID\fR. .RE .SH DESCRIPTION .sp .LP The \fBXTSOLsetWorkstationOwner()\fR function is used by the Solaris Trusted Extensions \fBlogintool\fR to assign a user \fBID\fR to be identified as the owner of the workstation server. The client running under this user \fBID\fR can set the server's device objects, such as keyboard mapping, mouse mapping, and modifier mapping. The client must have the Trusted Path process attribute. .SH RETURN VALUES .sp .LP None. .SH ERRORS .sp .ne 2 .mk .na \fB\fBBadAccess\fR\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), \fBXTSOLgetWorkstationOwner\fR(3XTSOL), \fBattributes\fR(5) .sp .LP \fIAccessing and Setting a 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.