<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Live with Dot Net &#187; privilege</title>
	<atom:link href="http://www.livewithdotnet.com/tag/privilege/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.livewithdotnet.com</link>
	<description>Just another Programming weblog</description>
	<lastBuildDate>Sat, 24 Jul 2010 18:59:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Check whether the current user have the admin rights</title>
		<link>http://www.livewithdotnet.com/check-whether-the-current-user-have-the-admin-rights/</link>
		<comments>http://www.livewithdotnet.com/check-whether-the-current-user-have-the-admin-rights/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 17:44:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp .Net]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Check]]></category>
		<category><![CDATA[code use]]></category>
		<category><![CDATA[code visual studio net]]></category>
		<category><![CDATA[csharp programming]]></category>
		<category><![CDATA[current]]></category>
		<category><![CDATA[dot net sample code]]></category>
		<category><![CDATA[get code]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[open code]]></category>
		<category><![CDATA[principal]]></category>
		<category><![CDATA[privilege]]></category>
		<category><![CDATA[programming form]]></category>
		<category><![CDATA[rights]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[visual basic microsoft access]]></category>

		<guid isPermaLink="false">http://www.livewithdotnet.com/?p=12</guid>
		<description><![CDATA[You can check the current user privilege using the identity principal of the current user. Below code helps you to check whether the current user has the Administrator privilege or not.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public bool CheckAdminRights&#40;&#41;
        &#123;
            bool IsAdmin;
  [...]]]></description>
		<wfw:commentRss>http://www.livewithdotnet.com/check-whether-the-current-user-have-the-admin-rights/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
