Jim
Guest
|
Posted:
Mon Nov 21, 2005 11:57 pm Post subject:
UserProperties and Exchange |
|
|
Are there any possible access restrictions for creating a UserProperty
via C# with Exchange. I have the following: Will this always work with
Exchange or are there situations where Exchange will prevent or remove a
UserProperty?
UserProperty prop = contact.UserProperties["GUID"];
if(prop == null)
{
prop = contact.UserProperties.Add("GUID", OlUserPropertyType.olText,
true, 1);
contact.Save();
}
return prop;
Also
will this work in exchange:
string restriction = "[GUID] = '"+id+"'";
Items items = (Items)contacts.Restrict(restriction);
Thanks
|
|