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

CreateDataPermission() public method

public CreateDataPermission ( long subjectId, long entityId, long dataId, int rightType ) : DataPermission
subjectId long
entityId long
dataId long
rightType int
return BExIS.Security.Entities.Authorization.DataPermission
        public DataPermission CreateDataPermission(long subjectId, long entityId, long dataId, int rightType)
        {
            PermissionManager permissionManager = new PermissionManager();

            return permissionManager.CreateDataPermission(subjectId, entityId, dataId, (RightType)rightType);
        }