I'm using Virtual Attributes from respectively an console app and a custom web page deployed on the AR Server - both coded in C#.
I can update the Virtual Attributes through the web page (bool and Generalized Date) and see the changes in the active roles console, simply by doing the following on a search resultset:
user.Properties["edsvaAttributeName"].Value = DateTime
user.CommitChanges();
user.Close();
When i try to read the Attributes from my console app or web page, the value of the property is always NULL. I use the following syntax:
string displayValue = user.Properties["edsvaAttributeName"].Value.ToString();
Any help would be very much appreciated.
Thanks.