ExtendedMembershipProvider.HasLocalAccount Method
Indicates whether the user has a local account.
Namespace: WebMatrix.WebData
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
Syntax
'Declaration
Public Overridable Function HasLocalAccount ( _
userId As Integer _
) As Boolean
'Usage
Dim instance As ExtendedMembershipProvider
Dim userId As Integer
Dim returnValue As Boolean
returnValue = instance.HasLocalAccount(userId)
public virtual bool HasLocalAccount(
int userId
)
public:
virtual bool HasLocalAccount(
int userId
)
abstract HasLocalAccount :
userId:int -> bool
override HasLocalAccount :
userId:int -> bool
public function HasLocalAccount(
userId : int
) : boolean
Parameters
- userId
Type: System.Int32
The user ID.
Return Value
Type: System.Boolean
true if the membership has a local account; otherwise, false.