Shell.WindowsSecurity method
Displays the Windows Security dialog box.
Syntax
Parameters
This method has no parameters.
Return value
JScript
This method does not return a value.
VB
This method does not return a value.
Remarks
This method displays the dialog box shown after pressing CTRL+ALT+DELETE or using the security option on the Start menu.
Note This method can be used only when connected by a terminal session to Microsoft Terminal Server.
Examples
The following examples show the use of WindowsSecurity for JScript, VBScript, and Visual Basic.
JScript:
<script language="JScript">
function fnIShellDispatch4WindowsSecurityJ()
{
var objShell = new ActiveXObject("shell.application");
objshell.WindowsSecurity();
}
</script>
VBScript:
<script language="VBScript"> function fnIShellDispatch4WindowsSecurityVB() dim objShell set objShell = CreateObject("shell.application") objshell.WindowsSecurity set objShell = nothing end function </script>
Visual Basic:
Private Sub fnIShellDispatch4WindowsSecurityVB() Dim objShell As Shell Set objShell = New Shell objshell.WindowsSecurity Set objShell = Nothing End Sub
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 11/28/2012
