Updates account in the following order: changes password, changes email and performs a custom action. If any of the steps fail, previous changes are rolled back.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool UpdateAccount(
string userName,
string password,
string email,
Action<MembershipUser> customAction,
out string errorMessage
) |
Visual Basic |
---|
Public Shared Function UpdateAccount (
userName As String,
password As String,
email As String,
customAction As Action(Of MembershipUser),
<OutAttribute> ByRef errorMessage As String
) As Boolean |
Visual C++ |
---|
public:
static bool UpdateAccount(
String^ userName,
String^ password,
String^ email,
Action<MembershipUser^>^ customAction,
[OutAttribute] String^% errorMessage
) |
F# |
---|
static member UpdateAccount :
userName : string *
password : string *
email : string *
customAction : Action<MembershipUser> *
errorMessage : string byref -> bool
|
Return Value
Type:
BooleanSee Also