473,388 Members | 1,426 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

security and VB

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.
Nov 21 '05 #1
1 1138
LookupAccountSid is the function you want to look at.

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
F C wrote:
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.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: robert | last post by:
well, talk about timely. i'm tasked to implement a security feature, and would rather do so in the database than the application code. the application is generally Oracle, but sometimes DB2. ...
116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
4
by: Ashish | last post by:
Hi Guys I am getting the following error while implementing authentication using WS-security. "Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated...
1
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is...
3
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.