ImpersonateX has the following options for the template tag:

Attribute Usage
UserID The UserID of the account you want to impersonate.
Text The text that is displayed on the button...
Redirect The default behavior is to redirect to the same page. You can override this by changing the value of this attribute.
Standard Button Attributes This control inherits from a standard push button. You can also use additional attributes, such as: BorderColor, BorderStyle, BorderWidth, CssClass, Font-Bold, Font-Italic, Font-Names, Font-Overline, Font-Size, Font-Strikeout, Font-Underline, ForeColor, Height, OnClientClick, Style, ToolTip, Visible, Width

ImpersonateX has the following options for the form action:

Property Usage
UserID The UserID of the account you want to impersonate.
err_NoUserID You can override the default error message when a UserID is passed to the action. Default: You must pass a UserID to ImpersonateX.
err_InvalidUserID You can override the default error message when a non-integer value is passed to the action. Default: You passed a non-integer value to ImpersonateX.
err_UserNonExistent You can override the default error message when the user account cannot be found. Default: The UserID that was passed is not associated with a valid user account.

If you want error messages to be handled by the <ValidationSummary> tag, you must add <Validate Type="Action" /> to your form. Take a look at the starter form as an example.

Newsletter

Keep up on our always evolving product features and technology. Enter your e-mail and subscribe to our newsletter.

About Us

At Reflect Media Group we are committed to developing effective solutions for our clients. We specialize in building custom modules and web apps with Xmod Pro for the DNN (DotNetNuke) CMS platform. We also offer consultation, training, and in-depth project evaluation.

Get In Touch

  • Address: PO Box 329, West Paducah, KY 42086, USA

  • Phone: (270) 933-1200

  • Email: Contact Form