|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
security and VBWhat 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. LookupAccountSid is the function you want to look at.
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. > > |
|||||||||||||||||||||||