Check if another user with the same email already exists in the system.

Namespace: Buddy
Assembly: Buddy (in Buddy.dll) Version: 1.0.2.7 (1.0.2.7)

Syntax

C#
public IAsyncResult CheckIfEmailExistsAsync(
	Action<bool, BuddyCallbackParams> callback,
	string email,
	Object state = null
)
Visual Basic
Public Function CheckIfEmailExistsAsync ( _
	callback As Action(Of Boolean, BuddyCallbackParams), _
	email As String, _
	Optional state As Object = Nothing _
) As IAsyncResult
Visual C++
public:
IAsyncResult^ CheckIfEmailExistsAsync(
	Action<bool, BuddyCallbackParams^>^ callback, 
	String^ email, 
	Object^ state = nullptr
)
JavaScript
function CheckIfEmailExistsAsync(callback, email, state);

Parameters

callback
Type: System..::..Action<(Of <(<'Boolean, BuddyCallbackParams>)>)>
The async callback to call on success or error. The first parameter is true if the email exists in the system, false otherwise.
email
Type: System..::..String
The email to check for, can't be null or empty.
state (Optional)
Type: System..::..Object
An optional user defined object that will be passed to the callback.

Return Value

An IAsyncResult handle that can be used to monitor progress on this call.

See Also