OpenAuth.HasLocalPassword Method

.NET Framework 4

Determines if the specified user has a local password on this site.

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public Shared Function HasLocalPassword ( _
    membershipUserName As String _
) As Boolean
'Usage
Dim membershipUserName As String 
Dim returnValue As Boolean 

returnValue = OpenAuth.HasLocalPassword(membershipUserName)
public static bool HasLocalPassword(
    string membershipUserName
)
public:
static bool HasLocalPassword(
    String^ membershipUserName
)
static member HasLocalPassword : 
        membershipUserName:string -> bool
public static function HasLocalPassword(
    membershipUserName : String
) : boolean

Parameters

  • membershipUserName
    Type: System.String
    The local membership user name.

Return Value

Type: System.Boolean

See Also

Reference

OpenAuth Class

Microsoft.AspNet.Membership.OpenAuth Namespace