Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Create multiple filters if the user is not the owner

Hi,

I have the following that filters if the user is not the owner.

if (!UserIsInRole("Owners"))
RegisterAccessControlRule("CreatorID", AccessPermission.Allow, UserId);

My question

How do I add "AssignedToID"?

because "CratorID" is being treated as a string, I cannot use OR

Thanks!
1 person has
this question
+1
Reply