Table 2-29
CHostDataEx properties and parameters (continued)
Description
Parameter
Property
Activates or deactivates the security options
for a normal end of session.
Bool
<CHostData>.EnableEndSessSecurity(Bool)
Sets the security options for a normal end of
session.
The following values are valid:
■
1: Log off user
■
2: Restart host computer
■
3: Lock computer
Byte
<CHostData>.EndSessSecurity(Byte)
Sets screen blanking on the host computer.
Some video cards do not support this option.
Bool
<CHostData>.BlankHost(Bool)
Disables the use of the mouse on the remote
computer during a session.
Bool
<CHostData>.AllowRemoteMouse(Bool)
Forces the computer to restart after any end
of session if TRUE.
Bool
<CHostData>.RebootOnDisconnect(Bool)
Logs off the user after the session ends.
Bool
<CHostData>.PasswordAfterDisc(Bool)
Logs failed password attempts.
Bool
<CHostData>.LogFailures(Bool)
Enables drive security options. This setting is
valid only on NTFS file systems.
Bool
<CHostData>.AllowDriveSecurity(Bool)
Enables the use of directory services for
authentication.
Bool
<CHostData>.UseDirectoryServices(Bool)
Sets the directory services settings.
String
<CHostData>.DirectoryServiceEntry(String)
The following table describes the properties and return values for the CHostDataEx
object.
In
Table 2-30
, replace the information in angle brackets with the actual values.
Table 2-30
CHostDataEx properties and return values
Description
Return value
Property
Returns the currently active private key
container.
String
String = <CHostDataEx>.CryptPrivateKey
Returns the common name of the active
private key container.
String
String = <CHostDataEx>.CryptCommonName
Visual Basic object definitions
CHostDataEx object
50