if ($Flags & UF_LOCKOUT)
{
# account is locked
out
}
-----Original Message-----
From: Jahsman Dan L [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 12:38 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: AdminMisc Question
From: Jahsman Dan L [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 12:38 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: AdminMisc Question
How do I find out
what is in the $Flags variable. When I run
UserGetAttributes($Server, $UserName, $UserFullName, $Password,
$PasswordAge,
$Privilege, $HomeDir, $Comment, $Flags, $ScriptPath)
$Privilege, $HomeDir, $Comment, $Flags, $ScriptPath)
$Flags comes back
with a number.
I am interested in
finding out what the value of UF_LOCKOUT is and what I need to do to
change the value with
UserSetAttributes($Server, $UserName, $UserFullName, $Password,
$PasswordAge,
$Privilege, $HomeDir, $Comment, $Flags, $ScriptPath)
$Privilege, $HomeDir, $Comment, $Flags, $ScriptPath)
Thanks for your
assistance,
dan
