I validate two SPUser
values inside if
condition.
Both SPUser
variables have values when my program runs, but when both SPUser
values are same my app runs and enter inside if condition. Ideally it should not be.
Where I'm going wrong?
if (ownerUser != currentUser)
{
}