ProfileAuthenticationOption Enumeration
Describes the authentication type of user profiles to be searched.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| 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.
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. |
Available since 2.0
