<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to check whether current user have administrator privilege?</title>
	<atom:link href="http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/feed/" rel="self" type="application/rss+xml" />
	<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/</link>
	<description>Gold mine of Visual C++ tricks!</description>
	<lastBuildDate>Wed, 14 Mar 2012 05:55:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Detectando perfil de usuário administrador &#124; NetWork Spot!</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-15827</link>
		<dc:creator>Detectando perfil de usuário administrador &#124; NetWork Spot!</dc:creator>
		<pubDate>Thu, 28 Jul 2011 16:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-15827</guid>
		<description>[...] &#160;    http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/ [...]</description>
		<content:encoded><![CDATA[<p>[...] &nbsp;    <a href="http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/" rel="nofollow">http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jijo.Raj</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-58</link>
		<dc:creator>Jijo.Raj</dc:creator>
		<pubDate>Wed, 16 Sep 2009 14:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-58</guid>
		<description>Hi Axe,

Could you post the errors you got? So that i can troubleshoot.
Are you trying to build the code in a console project?

Best Regards,
Jijo.</description>
		<content:encoded><![CDATA[<p>Hi Axe,</p>
<p>Could you post the errors you got? So that i can troubleshoot.<br />
Are you trying to build the code in a console project?</p>
<p>Best Regards,<br />
Jijo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: axe</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-57</link>
		<dc:creator>axe</dc:creator>
		<pubDate>Wed, 16 Sep 2009 07:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-57</guid>
		<description>I get compile errors, can you please post a full example complete with includes and in main() ? Thanks.</description>
		<content:encoded><![CDATA[<p>I get compile errors, can you please post a full example complete with includes and in main() ? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WindowsPistha</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-56</link>
		<dc:creator>WindowsPistha</dc:creator>
		<pubDate>Thu, 18 Dec 2008 10:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-56</guid>
		<description>Hi maverick_wipro ,

&gt; &quot;IsUserAnAdmin() would fail in Windows Vista if UAC is switched on</description>
		<content:encoded><![CDATA[<p>Hi maverick_wipro ,</p>
<p>&gt; &#8220;IsUserAnAdmin() would fail in Windows Vista if UAC is switched on</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jijo.Raj</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-55</link>
		<dc:creator>Jijo.Raj</dc:creator>
		<pubDate>Sat, 19 Apr 2008 06:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-55</guid>
		<description>thanks for the vista info, buddy. Keep sharing your knowledge!</description>
		<content:encoded><![CDATA[<p>thanks for the vista info, buddy. Keep sharing your knowledge!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maverick_wipro</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-54</link>
		<dc:creator>maverick_wipro</dc:creator>
		<pubDate>Fri, 18 Apr 2008 13:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-54</guid>
		<description>IsUserAnAdmin() would fail in Windows Vista if UAC is switched on... u can find out if admin priv in by a write to \HKLM , copying to \system32,</description>
		<content:encoded><![CDATA[<p>IsUserAnAdmin() would fail in Windows Vista if UAC is switched on&#8230; u can find out if admin priv in by a write to \HKLM , copying to \system32,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jijo.Raj</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-53</link>
		<dc:creator>Jijo.Raj</dc:creator>
		<pubDate>Thu, 17 Apr 2008 03:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-53</guid>
		<description>That function is intentionally ignored. See the extract from MSDN &quot;This function is a wrapper for &lt;strong&gt;CheckTokenMembership&lt;/strong&gt;. &lt;strong&gt;It is recommended to call that function directly &lt;/strong&gt;to determine Administrator group status rather than calling IsUserAnAdmin.&quot;

But i forgot to add that info as a note. :) I think it will be useful. Thanks for pointing it out.</description>
		<content:encoded><![CDATA[<p>That function is intentionally ignored. See the extract from MSDN &#8220;This function is a wrapper for <strong>CheckTokenMembership</strong>. <strong>It is recommended to call that function directly </strong>to determine Administrator group status rather than calling IsUserAnAdmin.&#8221;</p>
<p>But i forgot to add that info as a note. <img src='http://weseetips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I think it will be useful. Thanks for pointing it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveen</title>
		<link>http://weseetips.com/2008/04/16/how-to-check-whether-current-user-have-administrator-privilege/comment-page-1/#comment-52</link>
		<dc:creator>Naveen</dc:creator>
		<pubDate>Thu, 17 Apr 2008 00:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=73#comment-52</guid>
		<description>If you use the IsUserAnAdmin() function, you can achive the same result as above. Basically the IsUserAnAdmin() internally use SHTestTokenMembership() function and that function internally perform the same operation you mentioned in the above tip.</description>
		<content:encoded><![CDATA[<p>If you use the IsUserAnAdmin() function, you can achive the same result as above. Basically the IsUserAnAdmin() internally use SHTestTokenMembership() function and that function internally perform the same operation you mentioned in the above tip.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

