Skip to main content
All docs
V25.1
  • .NET 8.0+

    IsGrantedExtensions.CanRead Method

    Name Parameters Description
    CanRead(IRequestSecurityStrategy, IObjectSpace, Object, String) static security, objectSpace, targetObject, memberName Checks whether the current user can read the specified object. If the optional memberName parameter is specified, the method checks whether the current user can read the specified object member.
    CanRead(IRequestSecurityStrategy, Type, IObjectSpace, Object, String) static security, type, objectSpace, targetObjectKey, memberName Checks whether the current user can read an object with the specified key. If the optional memberName parameter is specified, the method checks whether the current user can read the specified object member.
    CanRead(IRequestSecurityStrategy, Type, IObjectSpace, String) static security, type, objectSpace, memberName Checks whether the current user can read objects of the specified type. If the optional memberName parameter is specified, the method checks whether the current user can read the specified object members.
    CanRead<T>(IRequestSecurityStrategy, IObjectSpace, Object, String) static security, objectSpace, targetObjectKey, memberName Checks whether the current user can read an object with the specified key. If the optional memberName parameter is specified, the method checks whether the current user can read the specified object member.
    CanRead<T>(IRequestSecurityStrategy, IObjectSpace, String) static security, objectSpace, memberName Checks whether the current user can read objects of the specified type. If the optional memberName parameter is specified, the method checks whether the current user can read the specified object members.