Redigera

Dela via


System.Web.ApplicationServices Namespace

Provides classes that enable you to access ASP.NET forms authentication, roles, and profiles application services as Windows Communication Foundation (WCF) services.

Classes

ApplicationServicesHostFactory

Provides a factory class that creates instances of the authentication service, role service, and profile service in managed hosting environments.

AuthenticatingEventArgs

Provides data for the Authenticating event.

AuthenticationService

Enables access to ASP.NET forms authentication as a Web service.

CreatingCookieEventArgs

Provides data for the CreatingCookie event.

KnownTypesProvider

Creates an array of Type objects that contain the types of individual profile properties.

ProfilePropertyMetadata

Provides a collection of values that describe a profile property.

ProfileService

Enables access to ASP.NET user profiles through a Web service.

RoleService

Enables access to the ASP.NET role provider as a WCF Web service.

SelectingProviderEventArgs

Provides data for the SelectingProvider event.

ValidatingPropertiesEventArgs

Provides data for the ValidatingProperties event.

Remarks

The AuthenticationService, RoleService, and ProfileService classes contain methods that let you log on users, check which roles the current user belongs to, and retrieve profile properties for the user through WCF services. The namespace also includes the following classes: