Skip to main content
.NET 8.0+

IsGrantedExtensions.CanRead Method

Name Parameters Description
CanRead(SecurityStrategy, Type, IObjectSpace, Object, String) static security, type, objectSpace, targetObjectKey, memberName Checks whether the current user can read an object with the specified key or this object’s member.
CanRead(SecurityStrategy, Type, IObjectSpace, String) static security, type, objectSpace, memberName Checks whether the current user can read objects of the specified type or their member.
CanRead<T>(SecurityStrategy, IObjectSpace, Object, String) static security, objectSpace, targetObjectKey, memberName Checks whether the current user can read an object with the specified key or this object’s member.
CanRead<T>(SecurityStrategy, IObjectSpace, String) static security, objectSpace, memberName Checks whether the current user can read objects of the specified type or their member.