Hi There
Was wondering if some kind soul could help me?

browsed all i could find on setting the property of a W2000 user in AD to enable them to dial-in to our school network.

The function dial-in() below produces no errors but there again doesn't work:

Function DialIn()
$douser = GetObject("WinNT://" + @domain + "/" + $username + ",user")
If @error
Stop(12,'Dialin path issue')
Else
MessageBox('made it','Hmmm')
$douser.dialinprivilege=1
$douser.SetInfo
If @ERROR
MessageBox(@ERROR,'Error')
EndIf
EndIf
EndFunction

Could someone point me in the right direction please?

Many thanks