Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays the Windows Security dialog box.
Syntax
Shell.WindowsSecurity()
Shell.WindowsSecurity()
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
Requirement | Value |
---|---|
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|