Export (0) Print
Expand All

SimpleMembershipProvider.HasLocalAccount Method

Indicates whether the user has local account.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

'Declaration
Public Overrides Function HasLocalAccount ( _
	userId As Integer _
) As Boolean
'Usage
Dim instance As SimpleMembershipProvider 
Dim userId As Integer 
Dim returnValue As Boolean 

returnValue = instance.HasLocalAccount(userId)

Parameters

userId
Type: System.Int32
The user ID.

Return Value

Type: System.Boolean
true if the user has local account; otherwise, false.
Show:
© 2014 Microsoft