Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Active directory Interfaces > NameTranslate f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2265 of 2407
Post > Topic >>

NameTranslate for WellKnownSidType

by HPK <hpkrause@[EMAIL PROTECTED] > Apr 25, 2008 at 03:17 AM

Hi all,

I'm using ActiveDs.IADsAccessControlEntry to get the dacl for a
mailbox. By this way I get the trustees  NT-like formated (<domain>
\<sAMAccountName>.
In the next step I use ActiveDs.NameTranslate and
ActiveDs.ADS_NAME_TYPE_ENUM to get the displayName and canonicalName
for a trustee.
This works fine for any ordinary group or user account, but not for
'WellKnown Security Principals'.
With trustees like 'NT Authority\self' I 'll get an
IdentityNotMappedException.

I know the way to define a new SecurityIdentifier for a
WellKnownSidType to use the NameTranslate method language-independent.

But how can I do the lookup for well known sid's?

Regards
Peter
 




 1 Posts in Topic:
NameTranslate for WellKnownSidType
HPK <hpkrause@[EMAIL P  2008-04-25 03:17:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 22:04:24 CST 2008.