Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
set comp=getobject("umi:///WinNT/computer=alanbos4") set user = comp.GetInstance_ ("user=guest")
if(user.dialinprivilege = True) then wscript.echo "Dialin Privilege: True" else wscript.echo "Dialin Privilege: False" end if
callbackId = user.GetRasCallBack
if callbackId=1 then WScript.Echo "Callback ID: None" elseif callbackId=2 then WScript.Echo "Callback ID: Set by admin" elseif callbackId=4 then WScript.Echo "Callback ID: Set by caller" else WScript.Echo "Callback ID: Unknown" end if
phoneNum = user.GetRasPhoneNumber WScript.Echo "Phone #:", phoneNum
|