UserProperties and Exchange
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
UserProperties and Exchange

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Jim
Guest





Posted: Mon Nov 21, 2005 11:57 pm    Post subject: UserProperties and Exchange Reply with quote

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

Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB