private static string GetClauseForAuthenticationOptions(ProfileAuthenticationOption authenticationOption)
        {
            switch (authenticationOption)
            {
                case ProfileAuthenticationOption.Anonymous:
                    return " AND IsAnonymous='1' ";

                case ProfileAuthenticationOption.Authenticated:
                    return " AND IsAnonymous='0' ";

                case ProfileAuthenticationOption.All:
                    return " ";

                default: throw new InvalidEnumArgumentException(String.Format("Unknown ProfileAuthenticationOption value: {0}.", authenticationOption.ToString()));
            }
        }