<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server 2005: An example of writing a CLR function that wraps the LookupAccountSid WinAPI call</title><link>http://blogs.msdn.com/lcris/archive/2005/09/26/474202.aspx</link><description>I was looking recently into writing a wrapper for the LookupAccountSid WinAPI function, so that I could use this functionality in T-SQL. I decided to write a CLR function and document the steps here: 1. First, we need to write the code into a file - I</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: SQL Server 2005: An example of writing a CLR function that wraps the LookupAccountSid WinAPI call</title><link>http://blogs.msdn.com/lcris/archive/2005/09/26/474202.aspx#702968</link><pubDate>Wed, 16 Aug 2006 23:20:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:702968</guid><dc:creator>Mike Cato</dc:creator><description>Thanks for the LookupNameSid example. &amp;nbsp;There was a gap between examples in Allen Jones' "C# Programmer's Cookbook", MSDN examples and reality. &amp;nbsp;You filled the gap.</description></item></channel></rss>