2. Disable the user's NT account.
VB:
Dim User as IADsUser
Dim UserName as String
Dim UserDomain as String
UserDomin = Your_NT_Domain
UserName = User_To_Be_Axed
Set User = GetObject(WinNT:// UserDomain / Username ,user)
Dim NewValue as Boolean
NewValue = True
User.AccountDisabled =
NT/SMS/Exchange Administrator
Ben Jerry's Homemade, Inc.
-Original Message-
From: Scharff, Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 10:31 PM
To: Exchange Discussions
Subject: RE: An Academic Exercise (was: RE: Minions (was RE: Undelete
comm and) )
I thought I'd
1. User could be determined either from a file, from
requested input dialog
box, or command line switch.
Agreed. One might want to do this as part of a web interface (way beyond the
scope of this exercise)... Where help desk folks could take the request and
they could be pending until the
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scharff, Chris
Sent: Wednesday, August 22, 2001 8:17 AM
To: Exchange Discussions
Subject: RE: An Academic Exercise (was: RE: Minions (was RE: Undelete
comm and) )
1. User could be determined either from a file, from
requested
4 matches
Mail list logo