My standard users are coming up with 128 (dec) so that's not working for me. My admin account is 898 (dec).
How would I be able to break these flags out? Thanks, Evans Martin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darin Cox Sent: Thursday, May 20, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: Re: [IMail Forum] Reading the 'Flags' registry entry AND the registry value with 0x100 (hex) or 128 (decimal). If the result is 0x100 (hex) or 128 (decimal), then the user is a host administrator. Darin. ----- Original Message ----- From: "Evans Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 20, 2004 2:05 PM Subject: [IMail Forum] Reading the 'Flags' registry entry I'm not very well versed at reading values from a bitmapped field. Can some of you Visual Basic guru's give me some pointers? I'm trying to read the values in the 'Flags' entry in the Imail registry hash. Here's the key but I don't know how to identify which flags are on: Hex Decimal Option 1 1 Account Access Disabled 2 2 Hide from information services 4 4 User cannot change password 80 128 Web Access 100 256 Host Administrator 200 512 Imail System Administrator 400 1024 List Administrator 1000 4096 User cannot modify LDAP attributes I'm specifically trying to determine if a user is a Host Administrator. Any help would be greatly appreciated. Thank You, Evans Martin --- EVANS MARTIN <[EMAIL PROTECTED]> OFFICE: (615) 324-6074 CELL: (615) 519-1879 FAX: (615) 523-1679 HOSTING: http://www.martek.net PROGRAMMING: http://www.martekware.com HIRE ME: http://www.martek.net/resume.pdf --- [This E-mail scanned for viruses by Declude Virus] To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ --- [This E-mail scanned for viruses by Declude Virus] --- [This E-mail scanned for viruses by Declude Virus] To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
