Hello,
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".
bool userOf = this.Application.IsUserMemberOf(@"Domain\Group");
System.Xml.XPath.XPathNavigator root, user;
root = this.MainDataSource.CreateNavigator();
user = root.SelectSingleNode("//my:memberof", this.NamespaceManager);
if (user.Value.Length <= 0)
user.SetValue(userOf.ToString());
Can anyone help me?
Thanks