PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
When overridden in a derived class, retrieves profile information for profiles in which the last activity date occurred on or before the specified date and the user name matches the specified user name.

Namespace: Smartsite.Core
Assembly:  Smartsite.Runtime (in Smartsite.Runtime.dll)

Syntax

C#Copy imageCopy Code
public override  FindInactiveProfilesByUserName(
	 authenticationOption,
	string usernameToMatch,
	 userInactiveSinceDate,
	int pageIndex,
	int pageSize,
	out int totalRecords
)
Visual Basic (Declaration)Copy imageCopy Code
Public Overrides Function FindInactiveProfilesByUserName ( _
	authenticationOption As , _
	usernameToMatch As , _
	userInactiveSinceDate As , _
	pageIndex As Integer, _
	pageSize As Integer, _
	<> ByRef totalRecords As Integer _
) As 

Parameters

authenticationOption
ProfileAuthenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
usernameToMatch
String
The user name to search for.
userInactiveSinceDate
DateTime
A DateTime that identifies which user profiles are considered inactive. If the LastActivityDate value of a user profile occurs on or before this date and time, the profile is considered inactive.
pageIndex
Int32
The index of the page of results to return.
pageSize
Int32
The size of the page of results to return.
totalRecords
Int32%
When this method returns, contains the total number of profiles.

Return Value

A ProfileInfoCollection containing user profile information for inactive profiles where the user name matches the supplied usernameToMatch parameter.

See Also

Advanced