コード例 #1
0
 /// <summary>
 /// Enables the given addins
 /// </summary>
 /// <param name="surveyId"></param>
 /// <param name="addInId"></param>
 public void EnableWebSecurityAddIn(int surveyId, int addInId)
 {
     SecurityAddInFactory.Create().EnableWebSecurityAddIn(surveyId, addInId);
 }
コード例 #2
0
 /// <summary>
 /// Move the addin priority up
 /// </summary>
 /// <param name="surveyId"></param>
 /// <param name="addInOrder"></param>
 public void MoveWebSecurityAddInUp(int surveyId, int addInId)
 {
     SecurityAddInFactory.Create().MoveWebSecurityAddInUp(surveyId, addInId);
 }
コード例 #3
0
 /// <summary>
 /// Deletes the given security addin from the survey
 /// </summary>
 /// <param name="surveyId"></param>
 /// <param name="addInOrder"></param>
 public void DeleteWebSecurityAddIn(int surveyId, int addInId)
 {
     SecurityAddInFactory.Create().DeleteWebSecurityAddIn(surveyId, addInId);
 }
コード例 #4
0
 /// <summary>
 /// Adds the given security addin to the survey
 /// </summary>
 /// <param name="surveyId"></param>
 /// <param name="addInId"></param>
 /// <param name="addInOrder"></param>
 public void AddSecurityAddInToSurvey(int surveyId, int addInId, int addInOrder)
 {
     SecurityAddInFactory.Create().AddSecurityAddInToSurvey(surveyId, addInId, addInOrder);
 }
コード例 #5
0
 /// <summary>
 /// Get all security addins available for the survey
 /// </summary>
 public WebSecurityAddInData GetWebSecurityAddIns(int surveyId)
 {
     return(SecurityAddInFactory.Create().GetWebSecurityAddIns(surveyId));
 }
コード例 #6
0
 /// <summary>
 /// Get a list of all available actions
 /// </summary>
 /// <returns></returns>
 public UnAuthentifiedUserActionData GetUnAuthentifiedUserActions()
 {
     return(SecurityAddInFactory.Create().GetUnAuthentifiedUserActions());
 }
コード例 #7
0
 /// <summary>
 /// Return a AddIn object that reflects the database addin data
 /// </summary>
 /// <param name="addInId">Id of the addin you need</param>
 /// <returns>A WebSecurityAddInData object with the current database values</returns>
 public WebSecurityAddInData GetAddInById(int surveyId, int addInId)
 {
     return(SecurityAddInFactory.Create().GetSurveyAddInById(surveyId, addInId));
 }