BExIS.Web.Shell.Areas.SAM.Controllers.DataPermissionsController.DeleteDataPermission C# (CSharp) Method

DeleteDataPermission() public method

public DeleteDataPermission ( long subjectId, long entityId, long dataId, int rightType ) : bool
subjectId long
entityId long
dataId long
rightType int
return bool
        public bool DeleteDataPermission(long subjectId, long entityId, long dataId, int rightType)
        {
            PermissionManager permissionManager = new PermissionManager();

            permissionManager.DeleteDataPermission(subjectId, entityId, dataId, (RightType)rightType);

            return true;
        }