Jim
So, you can do an LDAP query for the account in question and return the
userAccountControl attribute. Then, just use a bitwise comparison to see if
either of the 2 flags for delegation are enabled. "Normal delegation" is
0x80000 and "protocol transition delegation" (or "trusted for delegation
with any protocol") is 0x1000000. You can also check the constrained
delegation settings by reading the msds-allowedToDelegateTo attribute. It
will contain the SPNs of the allowed delegation targets.
HTH!
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"jimc" <ji...@discussions.microsoft.com> wrote in message
news:B27656B0-B7C5-45CB...@microsoft.com...