public Recording CreateRecording(string RecordingName,string DisplayName, OCL.User AccessingUser,OCL.Scene AccessedScene, OCL.Source AccessedSource,bool IsDesktopCapture,bool IsPrimaryCamera) { if(AccessingUser.CanAddRecordingSessions) { Functions F = new Functions(); Recording R = F.CreateARecording(RecordingName,DisplayName,AccessedScene.VideoStorageServerID,AccessedSource.ID,this.mvarID,IsDesktopCapture,IsPrimaryCamera); return R; } else return null; }