Example #1
0
        /// <summary>
        /// Get all visible Oyster Recording Sessions that are visible by the accessing user
        /// and meets the supplied search criteria
        /// </summary>
        /// <param name="AccessingUser"></param>
        /// <param name="RecordingSessionSearchType"></param>
        /// <param name="SearchCriteria"></param>
        /// <returns></returns>
        public RecordingSessions AllVisibleRecordingSessions(OCL.User AccessingUser,
			OysterRecordingSessionSearchType RecordingSessionSearchType,string SearchCriteria)
        {
            Functions F = new Functions();
            RecordingSessions ARS = new RecordingSessions();

            ARS = F.GetAllVisibleRecordingSessions(AccessingUser,RecordingSessionSearchType,SearchCriteria);

            return ARS;
        }
Example #2
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;
 }
Example #3
0
 /// <summary>
 /// Get all Oyster Recording Sessions that are visible by the accessing user
 /// </summary>
 /// <param name="AccessingUser"></param>
 /// <returns></returns>
 public RecordingSessions AllVisibleRecordingSessions(OCL.User AccessingUser)
 {
     Functions F = new Functions();
     RecordingSessions RS = new RecordingSessions();
     if(AccessingUser.ID != mvarID)
     {
         RS = F.GetAllVisibleRecordingSessions(AccessingUser,this);
     }
     else
     {
         RS = F.GetAllVisibleRecordingSessions(AccessingUser);
     }
     return RS;
 }