Title: .Net Sid conversion Function

There is also good stuff on www.pinvoke.net and there is a nice managed wrapper for all the .NET Security APIs (SIDs, tokens, ACLs, etc.) on GotDotNet:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e6098575-dda0-48b8-9abf-e0705af065d9

 

It is written in C#, but you can easily use it in a VB.NET solution.

 

If really need VB.NET code and have trouble finding anything but C#, let me know.

 

Joe K.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lou Vega
Sent: Monday, November 08, 2004 9:45 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] .Net Sid conversion Function

 

There is an example here written in C#:

http://www.codeproject.com/csharp/getusersid.asp

(for the sid-to-string function you’ll need to scroll down)

 

r/

Lou

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Westmoreland
Sent: Monday, November 08, 2004 10:32 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] .Net Sid conversion Function

 

Is anyone aware of a .Net function to convert the binary form of a sid to the string form and vice versa?  I have found the c++ functions but I am trying to work specifically within the .Net framework.

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Reply via email to