DefaultProfileProvider.FindInactiveProfilesByUserName Method
Returns inactive profiles by username.
Namespace: System.Web.Providers
Assembly: System.Web.Providers (in System.Web.Providers.dll)
Syntax
'Declaration
Public Overrides Function FindInactiveProfilesByUserName ( _
authenticationOption As ProfileAuthenticationOption, _
usernameToMatch As String, _
userInactiveSinceDate As DateTime, _
pageIndex As Integer, _
pageSize As Integer, _
<OutAttribute> ByRef totalRecords As Integer _
) As ProfileInfoCollection
'Usage
Dim instance As DefaultProfileProvider
Dim authenticationOption As ProfileAuthenticationOption
Dim usernameToMatch As String
Dim userInactiveSinceDate As DateTime
Dim pageIndex As Integer
Dim pageSize As Integer
Dim totalRecords As Integer
Dim returnValue As ProfileInfoCollection
returnValue = instance.FindInactiveProfilesByUserName(authenticationOption, _
usernameToMatch, userInactiveSinceDate, _
pageIndex, pageSize, totalRecords)
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
abstract FindInactiveProfilesByUserName :
authenticationOption:ProfileAuthenticationOption *
usernameToMatch:string *
userInactiveSinceDate:DateTime *
pageIndex:int *
pageSize:int *
totalRecords:int byref -> ProfileInfoCollection
override FindInactiveProfilesByUserName :
authenticationOption:ProfileAuthenticationOption *
usernameToMatch:string *
userInactiveSinceDate:DateTime *
pageIndex:int *
pageSize:int *
totalRecords:int byref -> ProfileInfoCollection
public override function FindInactiveProfilesByUserName(
authenticationOption : ProfileAuthenticationOption,
usernameToMatch : String,
userInactiveSinceDate : DateTime,
pageIndex : int,
pageSize : int,
totalRecords : int
) : ProfileInfoCollection
Parameters
- authenticationOption
Type: System.Web.Profile.ProfileAuthenticationOption
The authentication option.
- usernameToMatch
Type: System.String
The username to match.
- userInactiveSinceDate
Type: System.DateTime
The date since the user is inactive.
- pageIndex
Type: System.Int32
The page index.
- pageSize
Type: System.Int32
The page size.
- totalRecords
Type: System.Int32
The total records of inactive profiles.
Return Value
Type: System.Web.Profile.ProfileInfoCollection
The inactive profiles.
See Also
Reference
System.Web.Providers Namespace