示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="componentid"></param>
 /// <param name="add"></param>
 /// <param name="edit"></param>
 /// <param name="remove"></param>
 /// <param name="view"></param>
 /// <returns></returns>
 public bool AddDashboardPrivilege(string componentid, bool add, bool edit, bool remove, bool view)
 {
     return(GroupImplimentor.AddPrivilege(this.ClientID,
                                          this.GroupID,
                                          componentid,
                                          (int)PrivilegeType.DASHBOARD,
                                          add,
                                          edit,
                                          remove,
                                          view
                                          ));
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="componentid"></param>
 /// <param name="add"></param>
 /// <param name="edit"></param>
 /// <param name="remove"></param>
 /// <param name="view"></param>
 /// <returns></returns>
 public bool AddReportPrivilege(string componentid, bool add, bool edit, bool remove, bool view)
 {
     return(GroupImplimentor.AddPrivilege(this.ClientID,
                                          this.GroupID,
                                          componentid,
                                          (int)PrivilegeType.REPORT,
                                          add,
                                          edit,
                                          remove,
                                          view
                                          ));
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="componentid"></param>
 /// <param name="add"></param>
 /// <param name="edit"></param>
 /// <param name="remove"></param>
 /// <param name="view"></param>
 /// <returns></returns>
 public bool AddAnalyticPrivilege(string componentid, bool add, bool edit, bool remove, bool view)
 {
     return(GroupImplimentor.AddPrivilege(this.ClientID,
                                          this.GroupID,
                                          componentid,
                                          (int)PrivilegeType.ANALYTIC,
                                          add,
                                          edit,
                                          remove,
                                          view
                                          ));
 }