﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/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>Registering user as an Admin for device</title><link />http://developers.de/blogs/damir_dobric/archive/2008/07/20/registering-user-as-an-admin-for-device.aspx<description>The BizTalk RFID provides a security mechanism called device-level security. Users who are registered as device admins (entity admins) are by default permitted to execute all methods of DeviceManagerProxy class. By obtaining the instance of this class</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Registering user as an Admin for device</title><link />http://developers.de/blogs/damir_dobric/archive/2008/07/20/registering-user-as-an-admin-for-device.aspx#2648<pubdate>Sun, 10 Aug 2008 10:29:48 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:2648</guid><dc:creator>Damir Dobric</dc:creator><description>&lt;p&gt;I would like to reference to this Kalyan&amp;#39;s post, which is related to our discussion about required admin permissions: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/kalyanaj/archive/2008/08/08/device-security.aspx"&gt;blogs.msdn.com/.../device-security.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=2648" width="1" height="1"&gt;</description></item><item><title>re: Registering user as an Admin for device</title><link />http://developers.de/blogs/damir_dobric/archive/2008/07/20/registering-user-as-an-admin-for-device.aspx#2554<pubdate>Tue, 29 Jul 2008 02:49:30 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:2554</guid><dc:creator>kalyanaj</dc:creator><description>&lt;p&gt;Hi Damir,&lt;/p&gt;
&lt;p&gt;Would like to comment/clarify on a couple issues mentioned in this post:&lt;/p&gt;
&lt;p&gt;1) The above post seems to incorrectly indicate that you need admin privileges to use ANY of the DeviceManagerProxy operations even if it is not an admin task. &amp;nbsp;Actually, admin privileges are needed only for state changing operations; a non-admin caller can perform any of the other operations: e.g. executing a command to print tags or executing a command to get property etc. can be done by a non-admin user. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Also, on a similar note, DeviceConnection can be used for both admin and non-admin tasks. &amp;nbsp;For e.g. you can use DeviceConnection.SetProperty() provided the caller has admin rights on the device.&lt;/p&gt;
&lt;p&gt;In fact, for synchronous command execution, it is recommended to use DeviceConnection over DeviceManagerProxy (DeviceConnection internally uses DeviceManagerProxy) and you can do both admin and non-admin operations using it.&lt;/p&gt;
&lt;p&gt;To summarize:&lt;/p&gt;
&lt;p&gt;Any operation that can potentially affect/change the state of the device requires the caller to have administrative privileges on the device. &amp;nbsp;Having administrative privilege on a device means that atleast one of the following should be true:&lt;/p&gt;
&lt;p&gt;a) The caller is a member of the builtin administrators group (OR)&lt;/p&gt;
&lt;p&gt;b) The caller&amp;#39;s account is a member of the device&amp;#39;s custom administrator list (To view/modify this using RFID Manager, right click on a device -&amp;gt; Security). &amp;nbsp;This account also should be added to the RFID_USER group on the server machine.&lt;/p&gt;
&lt;p&gt;Once this has been setup, one can use DeviceConnection.OpenConnection() and execute the required operation.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;KalyanaJ&lt;/p&gt;
&lt;p&gt;Microsoft BizTalk RFID team.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=2554" width="1" height="1"&gt;</description></item></channel></rss>