OpenAuthManager.CreateRandomPassword Method

.NET Framework 4

Creates a random password for use when creating a new local membership user. By default, this method simply calls into the Membership.GeneratePassword method.

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

Syntax

'Declaration
Public Overridable Function CreateRandomPassword As String
'Usage
Dim instance As OpenAuthManager 
Dim returnValue As String 

returnValue = instance.CreateRandomPassword()
public virtual string CreateRandomPassword()
public:
virtual String^ CreateRandomPassword()
abstract CreateRandomPassword : unit -> string  
override CreateRandomPassword : unit -> string
public function CreateRandomPassword() : String

Return Value

Type: System.String

See Also

Reference

OpenAuthManager Class

Microsoft.AspNet.Membership.OpenAuth Namespace