<?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: Possible VB2008 BUG: My.User.IsInRole (When UAC ON)</title>
	<atom:link href="http://markmonica.com/2009/10/29/possible-vb2008-bug-my-user-isinrole-when-uac-on/feed/" rel="self" type="application/rss+xml" />
	<link>http://markmonica.com/2009/10/29/possible-vb2008-bug-my-user-isinrole-when-uac-on/</link>
	<description>Contributing to the vast web, 1 blog post at a time - blogs by Mark Monica</description>
	<lastBuildDate>Tue, 09 Mar 2010 21:47:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Steve Froebel</title>
		<link>http://markmonica.com/2009/10/29/possible-vb2008-bug-my-user-isinrole-when-uac-on/comment-page-1/#comment-483</link>
		<dc:creator>Steve Froebel</dc:creator>
		<pubDate>Tue, 09 Mar 2010 21:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://markmonica.com/2009/10/29/possible-vb2008-bug-my-user-isinrole-when-uac-on/#comment-483</guid>
		<description>My VB app worked file in XP and win2k3 authorizing users based on AD groups.  I switched my development workstation to Win 7.  Now I am never authorized by the app.  I am worried that when we switch our servers to 2008 the same thing will happen in production.

My original VB code is similer to your &quot;workaround&quot;.  I tried using the IsInRole approach as a workaround.

Neither works because it looks like they both get group memberships from the same place.

Tracing the code I can see 56 groups returned, but they are not my groups - I have less than a dozen memberships.  The returned groups are a subset of the groups defined in my AD.

Unless I missed a reference in VS, it looks like a bug to me.</description>
		<content:encoded><![CDATA[<p>My VB app worked file in XP and win2k3 authorizing users based on AD groups.  I switched my development workstation to Win 7.  Now I am never authorized by the app.  I am worried that when we switch our servers to 2008 the same thing will happen in production.</p>
<p>My original VB code is similer to your &#8220;workaround&#8221;.  I tried using the IsInRole approach as a workaround.</p>
<p>Neither works because it looks like they both get group memberships from the same place.</p>
<p>Tracing the code I can see 56 groups returned, but they are not my groups &#8211; I have less than a dozen memberships.  The returned groups are a subset of the groups defined in my AD.</p>
<p>Unless I missed a reference in VS, it looks like a bug to me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
