This documentation is archived and is not being maintained.

Sys.Services.ProfileService Class

Visual Studio 2008

Provides the client proxy class for the profile service.

Namespace: Sys.Services

Inherits: None

Name

Description

Sys.Services.ProfileService Constructor

Initializes a new instance of the Sys.Services.ProfileService class.

Sys.Services ProfileService DefaultWebServicePath Field

Specifies the path of the default profile service.

Sys.Services ProfileService properties Field

Contains the profile information.

Sys.Services ProfileService load Method

Loads the specified profile properties.

Sys.Services ProfileService save Method

Saves the specified profile properties.

Sys.Services ProfileService defaultFailedCallback Property

Gets or sets the default failure callback function.

Sys.Services ProfileService defaultLoadCompletedCallback Property

Gets or sets the default load-completed callback function.

Sys.Services ProfileService defaultSaveCompletedCallback Property

Gets or sets the name of the default save-completed callback function.

Sys.Services ProfileService defaultSucceededCallback Property

Gets or sets the default succeeded callback function for the service.

Sys.Services ProfileService defaultUserContext Property

Gets or sets the default user context for the service.

Sys.Services ProfileService path Property

Gets or sets the profile service path.

Sys.Services ProfileService timeout Property

Gets or sets the profile service time-out value.

The ProfileService class provides script access to a user's profile information. It calls methods of the profile service through the same infrastructure used to call any other Web service method.

NoteNote:

The built-in profile service is located on the server in a predefined location.

The Profile class is a singleton; it has only one instance that provides a global point of access. It is always available to your application and you do not have to instantiate it.

Description

The following example shows how to use the ProfileService class to obtain profile information for the currently authenticated user. For more information, see Using Profile Information with ASP.NET AJAX.

Show: