<?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>Doens.be &#187; XPO</title>
	<atom:link href="http://www.doens.be/tag/xpo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doens.be</link>
	<description></description>
	<lastBuildDate>Sat, 07 Jan 2012 04:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Security key disabled, even for the Admin</title>
		<link>http://www.doens.be/2009/04/security-key-disabled-for-admin/</link>
		<comments>http://www.doens.be/2009/04/security-key-disabled-for-admin/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 19:06:41 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[X++]]></category>
		<category><![CDATA[XPO]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=80</guid>
		<description><![CDATA[When you import a new security key trough a XPO, this new key will be disabled even for the admin group. Since you can&#8217;t adjust the security setting for the admin group you can&#8217;t use the keys functionality. There is a verry simple solution for this problem. Open the method \Forms\SysUserGroupSecurity\Methods\isAdmin and force this method [...]]]></description>
			<content:encoded><![CDATA[<p>When you import a new security key trough a XPO, this new key will be disabled even for the admin group. Since you can&#8217;t adjust the security setting for the admin group you can&#8217;t use the keys functionality.</p>
<p>There is a verry simple solution for this problem. Open the method \Forms\SysUserGroupSecurity\Methods\isAdmin and force this method to return false.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="xpp" style="font-family:monospace;">#admin
<span style="color: #0000ff;">boolean</span> isAdmin<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #007f00; font-style: italic;">/*   if (userGroupInfo.Id == #AdminUserGroup &amp;amp;&amp;amp;
      (domainInfo.Id    == #AdminDomain || !useDomains))
   {
       return true;
   }*/</span>
   <span style="color: #0000ff;">return</span> <span style="color: #0000ff;">false</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2009/04/security-key-disabled-for-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

