tags:

views:

170

answers:

0

Im having a problem with AfterProperties for SPFieldType.User field which return unexpected result.

public class ItemEventReceiver : SPItemEventReceiver { public override void ItemAdded(SPItemEventProperties properties) { SPItemEventDataCollection cListItemAfter = properties.AfterProperties; ... } }

the cListItemAfter hash table always contains user field value with either of these values and it keeps changing and not fixed to either one:

1 -1;#DOMAIN\Account 1;#DOMAIN\Account

any thoughts on this issue?