Home All Groups Group Topic Archive Search About
Author
29 Mar 2005 4:18 PM
F C
What VB /dotnet API or object can I use to transalte "S-1-1-0" ans
"S-1-5-11" sid well known  object to their *LOCALIZED* *LOCALIZED*
*LOCALIZED* *LOCALIZED* *LOCALIZED*   text.

It is "Tout le monde" et "Utilisateurs du domaine" on my computer.

I have tried  ADSsid from SetAS ADS_SID_SDDL, "S-1-1-0", which seems to
create a SID, but the GetAS (ADS_SID_SAM) miserabily fail.

Also IADsNameTranslate, but Set of ADS_NAME_TYPE_SID_OR_SID_HISTORY_NAME,
"S-1-1-0" claimls that name is not found or insuffisant access rigth.

Thanks for help.

Author
3 Apr 2005 1:10 PM
Joe Richards [MVP]
LookupAccountSid is the function you want to look at.



--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net


F C wrote:
Show quoteHide quote
> What VB /dotnet API or object can I use to transalte "S-1-1-0" ans
> "S-1-5-11" sid well known  object to their *LOCALIZED* *LOCALIZED*
> *LOCALIZED* *LOCALIZED* *LOCALIZED*   text.
>
> It is "Tout le monde" et "Utilisateurs du domaine" on my computer.
>
> I have tried  ADSsid from SetAS ADS_SID_SDDL, "S-1-1-0", which seems to
> create a SID, but the GetAS (ADS_SID_SAM) miserabily fail.
>
> Also IADsNameTranslate, but Set of ADS_NAME_TYPE_SID_OR_SID_HISTORY_NAME,
> "S-1-1-0" claimls that name is not found or insuffisant access rigth.
>
> Thanks for help.
>
>