DefaultProfileProvider.FindInactiveProfilesByUserName Method (ProfileAuthenticationOption, String, DateTime, Int32, Int32, Int32)
Returns inactive profiles by username.
Namespace: System.Web.Providers
Assembly: System.Web.Providers (in System.Web.Providers.dll)
Syntax
public override ProfileInfoCollection FindInactiveProfilesByUserName(
ProfileAuthenticationOption authenticationOption,
string usernameToMatch,
DateTime userInactiveSinceDate,
int pageIndex,
int pageSize,
out int totalRecords
)
public:
virtual ProfileInfoCollection^ FindInactiveProfilesByUserName(
ProfileAuthenticationOption authenticationOption,
String^ usernameToMatch,
DateTime userInactiveSinceDate,
int pageIndex,
int pageSize,
[OutAttribute] int% totalRecords
) override
override FindInactiveProfilesByUserName :
authenticationOption:ProfileAuthenticationOption *
usernameToMatch:string *
userInactiveSinceDate:DateTime *
pageIndex:int *
pageSize:int *
totalRecords:int byref -> ProfileInfoCollection
Public Overrides Function FindInactiveProfilesByUserName (
authenticationOption As ProfileAuthenticationOption,
usernameToMatch As String,
userInactiveSinceDate As Date,
pageIndex As Integer,
pageSize As Integer,
<OutAttribute> ByRef totalRecords As Integer
) As ProfileInfoCollection
Parameters
authenticationOption
Type: System.Web.Profile.ProfileAuthenticationOptionThe authentication option.
usernameToMatch
Type: System.StringThe username to match.
userInactiveSinceDate
Type: System.DateTimeThe date since the user is inactive.
pageIndex
Type: System.Int32The page index.
pageSize
Type: System.Int32The page size.
totalRecords
Type: System.Int32The total records of inactive profiles.
Return Value
Type: System.Web.Profile.ProfileInfoCollection
The inactive profiles.
See Also
DefaultProfileProvider Class
System.Web.Providers Namespace
ASP.NET Identity
Return to top