BExIS.Security.Services.Authorization.PermissionManager.GetDataPermission C# (CSharp) Метод

GetDataPermission() публичный Метод

public GetDataPermission ( long subjectId, long entityId, long dataId, RightType rightType ) : DataPermission
subjectId long
entityId long
dataId long
rightType RightType
Результат BExIS.Security.Entities.Authorization.DataPermission
        public DataPermission GetDataPermission(long subjectId, long entityId, long dataId, RightType rightType)
        {
            return DataPermissionsRepo.Get(p => p.Subject.Id == subjectId && p.Entity.Id == entityId && p.DataId == dataId && p.RightType == rightType).FirstOrDefault();
        }