Exemple #1
0
        /// <summary>
        /// Test if any user is a power user
        /// </summary>
        /// <param name="ccnUsername"></param>
        /// <returns></returns>
        protected bool IsPowerUser(string ccnUsername)
        {
            Account_BSO acBso = new Account_BSO();

            return(acBso.IsPowerUser(Ado, ccnUsername));
        }
Exemple #2
0
        /// <summary>
        /// Test if the current user is a power user
        /// </summary>
        /// <returns></returns>
        protected bool IsPowerUser()
        {
            Account_BSO acBso = new Account_BSO();

            return(acBso.IsPowerUser(Ado, SamAccountName));
        }