Trusted Extensions Developer's Guide

Exit Print View

Updated: July 2014
 
 

Obtaining the Window User ID

This example shows how to obtain the window user ID. The process owns the window resource and is running at the same sensitivity label. Therefore, no privileges are required.

/* Get the user ID of the window */
retval = XTSOLgetResUID(display, window, IsWindow, &uid);