Location: Symbol Reference > Classes > TJwSecurityDesktop Class > TJwSecurityDesktop Properties
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityDesktop Properties

The properties of the TJwSecurityDesktop class are listed here.

 
Name 
Description 
 
The property CloseOnDestroy is a flag that determines if the desktop handle shall be closed if the desktop instance is freed. That case is used if aCloseOnDestroy is TRUE otherwise the handle will exists until you close it by yourself or the application is closed. 
 
The readonly property DesiredAccess contains the access mask specified by the parameter aDesiredAccess in Create 
 
The property DesktopFlags gets or sets the desktop flag. If no desktop is opened a change of this flag is ignored. EJwsclDesktopException can be raised if an error occures while setting flag. 
 
The readonly property Handle contains the handle to the desktop. It can be 0 if the desktop is not opened or invald. Be aware that an access to this handle can result to unexpected results. 
 
The property IsInputDesktop returns true if this desktop instance was created by OpenInputDesktop; otherwise false. 
 
This is LastSwitchDesktop, a member of class TJwSecurityDesktop. 
 
This is LastThreadDesktop, a member of class TJwSecurityDesktop. 
 
Name 
The readonly propertyName contains the name of the Desktops. Be aware that desktop names are case sensitive. 
 
This is ObjectType, a member of class TJwSecurityDesktop. 
 
The readonly property Opened gets the status of the desktop handle. If the desktop handle is not zero it returns true. Opened cannot determine a open status of a desktop that was closed by a winapi call. 
 
The property Parent returns the parameter aParent in in Create
 
SecurityDescriptor[Info sets or gets the security descriptor of the current window station. This property uses a parameter Info to set which information is to be set or get. ex. SecurityDescriptor[[sif_XXXX,sif_XXXX]]
If used for getting the SD the caller is responsible for freeing the instance.
Getting the security parameter uses TJwSecureGeneralObject.GetSecurityInfo , setting the security parameter uses TJwSecureGeneralObject.SetSecurityInfo , see the methods for more informations and errors. 
 
The readonly property SecurityDescriptorPtr contains the SecurityDescriptor specified by the parameter aSecurityDescriptor in Create 
 
This is UserSID, a member of class TJwSecurityDesktop. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!