<?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"
	>
<channel>
	<title>Comments on: List All Permissions a User Has in SQL Server Database and Error 4064</title>
	<atom:link href="http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html</link>
	<description>Random thoughts and news by Andrew Chen and friends</description>
	<pubDate>Thu, 09 Feb 2012 13:53:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: downstream</title>
		<link>http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html#comment-155556</link>
		<dc:creator>downstream</dc:creator>
		<pubDate>Wed, 05 Oct 2011 11:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=321#comment-155556</guid>
		<description>This is very useful and all works fine.</description>
		<content:encoded><![CDATA[<p>This is very useful and all works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalim</title>
		<link>http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html#comment-147757</link>
		<dc:creator>Kalim</dc:creator>
		<pubDate>Wed, 20 Jul 2011 03:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=321#comment-147757</guid>
		<description>i tried to execute the above query but doesn't work. I m using sa account and following error appears "Cannot execute as the database principal because the principal "u_reenam_prd" does not exist, this type of principal cannot be impersonated, or you do not have permission." Please help me on this error and i executed the following query " execute ('select * From fn_my_permissions(NULL, "DB_name")')
 AS USER = 'login_name' ".

Thanks in Advance</description>
		<content:encoded><![CDATA[<p>i tried to execute the above query but doesn&#8217;t work. I m using sa account and following error appears &#8220;Cannot execute as the database principal because the principal &#8220;u_reenam_prd&#8221; does not exist, this type of principal cannot be impersonated, or you do not have permission.&#8221; Please help me on this error and i executed the following query &#8221; execute (&#8217;select * From fn_my_permissions(NULL, &#8220;DB_name&#8221;)&#8217;)<br />
 AS USER = &#8216;login_name&#8217; &#8220;.</p>
<p>Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lewis</title>
		<link>http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html#comment-121911</link>
		<dc:creator>Daniel Lewis</dc:creator>
		<pubDate>Thu, 13 Jan 2011 10:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=321#comment-121911</guid>
		<description>For SQL 2000 you can use permissions().  Although the result is a bitmap and much harder to use.

See &lt;a href="http://msdn.microsoft.com/en-US/library/ms186915%28v=SQL.90%29.aspx" rel="nofollow"&gt;msdn.microsoft.com/en-US/library/ms186915%28v=SQL.90%29.aspx&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>For SQL 2000 you can use permissions().  Although the result is a bitmap and much harder to use.</p>
<p>See <a href="http://msdn.microsoft.com/en-US/library/ms186915%28v=SQL.90%29.aspx" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/msdn.microsoft.com');">msdn.microsoft.com/en-US/library/ms186915%28v=SQL.90%29.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa Landry</title>
		<link>http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html#comment-97483</link>
		<dc:creator>Lisa Landry</dc:creator>
		<pubDate>Fri, 16 Jul 2010 14:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=321#comment-97483</guid>
		<description>fn_my_permissions does not work in SQl 2000. Is there any similar function/command for SQL 2000.
I need to check the user access rights of specific tables in a database.

Thanks</description>
		<content:encoded><![CDATA[<p>fn_my_permissions does not work in SQl 2000. Is there any similar function/command for SQL 2000.<br />
I need to check the user access rights of specific tables in a database.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa Landry</title>
		<link>http://www.siusic.com/wphchen/list-all-permissions-a-user-has-in-sql-server-database-error-4064-321.html#comment-97355</link>
		<dc:creator>Lisa Landry</dc:creator>
		<pubDate>Thu, 15 Jul 2010 18:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=321#comment-97355</guid>
		<description>fn_my_permisssions does not work for me in SQL 2000. Is there any other function/query that would work in the SQL 2000 and give the same information as fn_my_permissions.

I want to check/get access rights of a user for a specific table in a  database.

Thanks!</description>
		<content:encoded><![CDATA[<p>fn_my_permisssions does not work for me in SQL 2000. Is there any other function/query that would work in the SQL 2000 and give the same information as fn_my_permissions.</p>
<p>I want to check/get access rights of a user for a specific table in a  database.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

