BCR.UserDatabase.SetFullName C# (CSharp) Method

SetFullName() public static method

public static SetFullName ( int userid, string fullname ) : bool
userid int
fullname string
return bool
        public static bool SetFullName(int userid, string fullname)
        {
            int result = Database.Instance.ExecuteNonQuery("UPDATE user SET fullname='" + fullname + "' WHERE id=" + userid + ";");

              return result > 0;
        }