Exemplo n.º 1
0
        public static string GetAccount(string sNickName)
        {
            string sAccount = string.Empty;

            if (sNickName.Length < 1)
            {
                sAccount = ProvideCommon.GenerateStringID();
            }
            else
            {
                int iUserID = UserBll.UserIDSel(sNickName);
                if (iUserID > 999)
                {
                    sAccount = RNameAutoBLL.AutoNameCreate(sNickName);
                }
                else
                {
                    sAccount = sNickName;
                }
            }
            return(sAccount);
        }