.NET v1.1 and the SID

It must be me, I’m thick and can’t see for looking, but am I really really to believe there isn’t any way to retrieve a Users SID using .NET framework v1.1.

I know I could write some MC++/Win32 API code to do this (take a username/domain, get the SID) but WTF, this isn’t natively available in the BCL????

Please please someone, open my eyes, tell me I’m wrong .

Specifically, I want to retrieve the calling users SID from within a ServicedComponent, damned if I can find a native way of doing it.

Published by

Phil Harding

SharePoint Consultant, Developer, Father, Husband and Climber.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.