ProfileAuthenticationOption Enumeration

ProfileAuthenticationOption Enumeration


Describes the authentication type of user profiles to be searched.

Namespace:   System.Web.Profile
Assembly:  System.Web (in System.Web.dll)

public enum ProfileAuthenticationOption

Member nameDescription

Search all profiles.


Search only anonymous profiles.


Search only authenticated profiles.

The ProfileAuthenticationOption enumeration is used by profile providers and the ProfileManager class when they search for profiles in the data source and when they delete them. The ProfileAuthenticationOption enumeration is used to select whether only anonymous, only authenticated, or all profiles are searched.

The following code example allows a user to view and delete active and inactive profiles information based on search criteria including a ProfileAuthenticationOption parameter.

System_CAPS_security Security Note

This example includes a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft