<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14865.aspx</link><pubDate>Thu, 09 Nov 2006 11:28:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14865</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14865</wfw:commentRss><description>that did not help, sorry</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14864.aspx</link><pubDate>Tue, 07 Nov 2006 06:46:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14864</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14864.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14864</wfw:commentRss><description>Can you try to install the Visual Studio 2005 toolkit for InfoPath?</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14863.aspx</link><pubDate>Tue, 07 Nov 2006 06:33:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14863</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14863.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14863</wfw:commentRss><description>Never heard from PIAs... my installed system:&lt;br /&gt;&lt;br /&gt;Visual Studio 2005  | Office 2007 + Sharepoint Designer 2007 (BETA)&lt;br /&gt;Office Sharepoint Server 2007 (Enterprise) (BETA) + Foms Services + Excel Services&lt;br /&gt;Windows Sharepoint Services (BETA)&lt;br /&gt;SQL Server 2005 Standard + SP1 &lt;br /&gt;.NET3.0 : WF (BETA) + Extensions  &lt;br /&gt;.NET2.0 - ASP.NET &lt;br /&gt;2x Windows 2003 Server R2 (Standard Edition)&lt;br /&gt;&lt;br /&gt;can i download PIAs?</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14862.aspx</link><pubDate>Tue, 07 Nov 2006 03:46:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14862</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14862</wfw:commentRss><description>Hmmm. Makes me think that you don't have the Program Interop Assemblies (PIAs) installed. Did you install these?</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14861.aspx</link><pubDate>Mon, 06 Nov 2006 14:45:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14861</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14861</wfw:commentRss><description>hi,&lt;br /&gt;&lt;br /&gt;i cant find any reference for user, there is no assembly. i have no idea  whats wrong with my code.&lt;br /&gt;</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14860.aspx</link><pubDate>Sat, 04 Nov 2006 00:18:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14860</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14860</wfw:commentRss><description>Are you using the Application.User object to reference IsUserMemberOf? It won't work under Application. Must be Application.User.IsUserMemberOf("GroupDomain\Administrators") for example. Check out:&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmthIsUserMemberOf_HV01103982.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmthIsUserMemberOf_HV01103982.asp&lt;/a&gt; for more details.</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14859.aspx</link><pubDate>Fri, 03 Nov 2006 07:53:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14859</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14859</wfw:commentRss><description>Thank you,&lt;br /&gt;&lt;br /&gt;i added those:&lt;br /&gt;&lt;br /&gt;using Microsoft.Office.InfoPath;&lt;br /&gt;using System;&lt;br /&gt;using System.Xml;&lt;br /&gt;using System.Xml.XPath;&lt;br /&gt;&lt;br /&gt;Here is the error message:&lt;br /&gt;&lt;br /&gt;'Microsoft.Office.InfoPath.Application' does not contain a definition for 'IsUserMemberOf'&lt;br /&gt;&lt;br /&gt;Have you an idea of what is missing?&lt;br /&gt;I already searched many forums and blogs without any success. &lt;br /&gt;&lt;br /&gt;bye&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/14858.aspx</link><pubDate>Thu, 02 Nov 2006 15:17:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14858</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14858</wfw:commentRss><description>Hi JanDitze and welcome to our forum!&lt;br /&gt;Which assemblies have you added as resources?</description></item><item><title>IsUserMemberOf problems</title><link>https://www.infopathdev.com:443/forums/thread/12971.aspx</link><pubDate>Thu, 02 Nov 2006 08:42:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12971</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12971.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12971</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I want to use the IsUserMemberOf method with InfoPath an VSTA. But I can't compile the programm, because he doesn't know the expression "IsUserMemberOf".&lt;br /&gt;&lt;br /&gt;bool userOf = this.Application.IsUserMemberOf(@"Domain\Group");&lt;br /&gt;&lt;br /&gt;System.Xml.XPath.XPathNavigator root, user;&lt;br /&gt;root = this.MainDataSource.CreateNavigator();&lt;br /&gt;user = root.SelectSingleNode("//my:memberof", this.NamespaceManager);&lt;br /&gt;if (user.Value.Length &amp;lt;= 0)&lt;br /&gt;  user.SetValue(userOf.ToString());&lt;br /&gt;&lt;br /&gt;Can anyone help me?&lt;br /&gt;Thanks&lt;br /&gt;</description></item></channel></rss>