ProfileAuthenticationOption Enumeration

 

Describes the authentication type of user profiles to be searched.

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

type ProfileAuthenticationOption

Member nameDescription
All

Search all profiles.

Anonymous

Search only anonymous profiles.

Authenticated

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: