How do I write a server-side method in C# to capture server event onBeforeGet to deny a search or read request?

I need to do some extra check on user information before grant the user read access to an item. Is this a right approach? If so, what should I return in the deny situation to not break the client application?

Parents Reply Children
No Data