<?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>Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx</link><description>In this blog post, I’m going to describe how LightSwitch developers can programmatically access the security data contained in a LightSwitch application.&amp;#160; Having access to this data is useful for any number of reasons.&amp;#160; For example, you can</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10287712</link><pubDate>Mon, 26 Mar 2012 18:58:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10287712</guid><dc:creator>Matt Thalman</dc:creator><description>&lt;p&gt;@Lyndon:&lt;/p&gt;
&lt;p&gt;Attaching to the SecurityData service would be an alternate way of consuming it instead of the custom WCF RIA service approach. &amp;nbsp;But I&amp;#39;m not sure it would be better. &amp;nbsp;For one, you would need to specify at attach-time what authentication method you want to use when connecting to the service. &amp;nbsp;If Forms auth is being used, you are essentially hardcoding which account you want to connect to the service with. &amp;nbsp;If Windows auth, you&amp;#39;d be connecting to the SecurityData service with whichever Windows account your connecting service is running as. &amp;nbsp;Maybe this is what you&amp;#39;re looking for though. &amp;nbsp;Plus there are performance considerations to take into account. &amp;nbsp;Eric Erhard provides a good response to the general OData vs WCF RIA service question at &lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/LightSwitchDev11Beta/thread/d10a7b22-2500-438f-8694-8515e9a95c5e"&gt;social.msdn.microsoft.com/.../d10a7b22-2500-438f-8694-8515e9a95c5e&lt;/a&gt;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10287712" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10287312</link><pubDate>Sun, 25 Mar 2012 13:33:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10287312</guid><dc:creator>Lyndon</dc:creator><description>&lt;p&gt;Another thought- would the new Odata functionality in the new beta allow for accessing the users , roles, and users in roles information in a similar way to the WCF RIA approach?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10287312" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10287266</link><pubDate>Sun, 25 Mar 2012 02:47:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10287266</guid><dc:creator>Lyndon</dc:creator><description>&lt;p&gt;Or per Paul Patterson&amp;#39;s articel above as well&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10287266" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10287265</link><pubDate>Sun, 25 Mar 2012 02:45:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10287265</guid><dc:creator>Lyndon</dc:creator><description>&lt;p&gt;Hi Matt,&lt;/p&gt;
&lt;p&gt;I am assuming the example you posted last year on accessing roles and users through WCF RIA service &amp;nbsp;would still then be the recommended approach for accessing lists of users, roles , and users in roles - until a more direct feature of some kind is provided?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10287265" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10285400</link><pubDate>Tue, 20 Mar 2012 12:34:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10285400</guid><dc:creator>Matt Thalman</dc:creator><description>&lt;p&gt;Thanks for the feedback Paul. &amp;nbsp;We&amp;#39;re aware of the demand for a feature that provides read-only access for non-admins. &amp;nbsp;Just need to prioritize it with everything else.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10285400" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10284219</link><pubDate>Fri, 16 Mar 2012 13:46:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10284219</guid><dc:creator>paul van bladel</dc:creator><description>&lt;p&gt;Excellent article.&lt;/p&gt;
&lt;p&gt;Still wondering why there is no option to provide read-only access &amp;nbsp;for non-admin users to the user registrations. This is often needed in a business app, e.g. an app where users assign tasks to each other or where a dropdown of users needs to be available based on a the role of these users.&lt;/p&gt;
&lt;p&gt;kind regards&lt;/p&gt;
&lt;p&gt;-paul.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10284219" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10284079</link><pubDate>Fri, 16 Mar 2012 07:20:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10284079</guid><dc:creator>LaurentzT</dc:creator><description>&lt;p&gt;Thanks! Very helpful!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10284079" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10283939</link><pubDate>Thu, 15 Mar 2012 22:03:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10283939</guid><dc:creator>ADefwebserver</dc:creator><description>&lt;p&gt;Thanks for this!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10283939" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10283933</link><pubDate>Thu, 15 Mar 2012 21:52:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10283933</guid><dc:creator>Paul Patterson</dc:creator><description>&lt;p&gt;Doh! I forgot to mention the article I was referencing... Using LightSwitch User Information in Lookup Lists... &lt;a rel="nofollow" target="_new" href="http://www.paulspatterson.com/technology/lightswitch/microsoft-lightswitch-using-user-information-for-lookup-lists/"&gt;www.paulspatterson.com/.../microsoft-lightswitch-using-user-information-for-lookup-lists&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers again!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10283933" width="1" height="1"&gt;</description></item><item><title>re: Using the SecurityData service in LightSwitch</title><link>http://blogs.msdn.com/b/mthalman/archive/2012/03/15/using-the-securitydata-service-in-lightswitch.aspx#10283931</link><pubDate>Thu, 15 Mar 2012 21:46:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10283931</guid><dc:creator>Paul Patterson</dc:creator><description>&lt;p&gt;Thank you!! &lt;/p&gt;
&lt;p&gt;This answers a question that was posted by a reader on my blog. This is a tremendously valuable article matt.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;PaulSPatterson.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10283931" width="1" height="1"&gt;</description></item></channel></rss>