OpenAuth.AddLocalPassword Method

.NET Framework 4.5

Adds a local password for the specified local user.

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

Syntax

'Declaration
Public Shared Function AddLocalPassword ( _
    userName As String, _
    password As String _
) As SetPasswordResult
'Usage
Dim userName As String 
Dim password As String 
Dim returnValue As SetPasswordResult 

returnValue = OpenAuth.AddLocalPassword(userName, _
    password)
public static SetPasswordResult AddLocalPassword(
    string userName,
    string password
)
public:
static SetPasswordResult^ AddLocalPassword(
    String^ userName, 
    String^ password
)
static member AddLocalPassword : 
        userName:string * 
        password:string -> SetPasswordResult
public static function AddLocalPassword(
    userName : String, 
    password : String
) : SetPasswordResult

Parameters

Return Value

Type: Microsoft.AspNet.Membership.OpenAuth.SetPasswordResult

See Also

Reference

OpenAuth Class

Microsoft.AspNet.Membership.OpenAuth Namespace