Compartilhar via


RegisterAccountControl.AccountCreated Event

Occurs when a user clicks the OK button on the user control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Event AccountCreated As AccountCreatedEventHandler
'Usage
Dim instance As RegisterAccountControl
Dim handler As AccountCreatedEventHandler

AddHandler instance.AccountCreated, handler
public event AccountCreatedEventHandler AccountCreated

Remarks

By using this event, you can indicate the actions to take when a creating managed account. For example, you can redirect the browser to a specific page or direct Microsoft SharePoint Foundation 2010 take a specific action.

See Also

Reference

RegisterAccountControl Class

RegisterAccountControl Members

Microsoft.SharePoint.WebControls Namespace