Ejemplo n.º 1
0
 /// <summary>
 /// Get all Owned Oyster Recording Sessions that are visible by the Accessing User
 /// </summary>
 /// <param name="AccessingUser"></param>
 /// <returns></returns>
 public RecordingSessions AllOwnedRecordingSessions(OCL.User AccessingUser)
 {
     Functions F = new Functions();
     RecordingSessions RS = new RecordingSessions();
     if((AccessingUser.mvarIsSuperUser)||(AccessingUser.mvarID == this.mvarID))
     {
         RS = F.GetAllOwnedRecordingSessions(this);
     }
     else
     {
         RS = F.GetAllVisibleRecordingSessions(AccessingUser,this);
     }
     return RS;
 }