Back to Devexpress

IsGrantedExtensions.CanRead Method

expressappframework-devexpress-dot-expressapp-dot-security-dot-isgrantedextensions-dot-canread.md

latest2.6 KB
Original Source

IsGrantedExtensions.CanRead Method

NameParametersDescription
CanRead(IRequestSecurityStrategy, IObjectSpace, Object, String) staticsecurity, objectSpace, targetObject, memberNameChecks 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) staticsecurity, type, objectSpace, targetObjectKey, memberNameChecks 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) staticsecurity, type, objectSpace, memberNameChecks 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) staticsecurity, objectSpace, targetObjectKey, memberNameChecks 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) staticsecurity, objectSpace, memberNameChecks 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.