Skip to main content
.NET 6.0+

IsGrantedExtensions.CanRead Method

Name Parameters Description
CanRead(SecurityStrategy, IObjectSpace, Object, String) static security, objectSpace, targetObject, memberName For internal use.
CanRead(SecurityStrategy, Object, String) static security, targetObject, memberName Checks whether the current user can read the specified object or its member.
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, Object, String) static security, type, targetObjectKey, memberName For internal use.
CanRead(SecurityStrategy, Type, String) static security, type, 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, Object, String) static security, targetObjectKey, memberName For internal use.
CanRead<T>(SecurityStrategy, String) static security, memberName Checks whether the current user can read objects of the specified type or their member.