win32service.GetUserObjectInformation

GetUserObjectInformation(Handle, type)

Returns specified type of info about a window station or desktop

Parameters

Handle : PyHANDLE

Handle to window station or desktop

type : int

Type of info to return, one of UOI_FLAGS,UOI_NAME, UOI_TYPE, or UOI_USER_SID

Return Value

Return type is dependent on UOI_* constant passed in