Content Studio Web Content Management System
Assembly: ContentStudio.Site.Security.EIdentity (in ContentStudio.Site.Security.EIdentity.dll) Version: 5.6.5014.0 (5.6.5014.0)
The following example shows how to read personal information about the user just signed in and
write it to the current web page.
To read the user's personal number use the CustomUserId property
of the data supplied in the EIdentityAuthenticateEventArgs argument.
[This is preliminary documentation and is subject to change.]
Occurs when a user is authenticated, before the forms login cookie is queued to send to the browser
in the next response.
Namespace: ContentStudio.Site.Security.EIdentity
Assembly: ContentStudio.Site.Security.EIdentity (in ContentStudio.Site.Security.EIdentity.dll) Version: 5.6.5014.0 (5.6.5014.0)
Syntax
Value
Type: SystemEventHandlerEIdentityAuthenticateEventArgsExamples
C#
protected void OnAuthenticate(object sender, EIdentityAuthenticateEventArgs e) { var data = e.Data; Response.Write(String.Format("Name='{0}' AuthifyUserId='{1} Email='{2}' Token='{3}'", data.Name, data.AuthifyUserId, data.Email, data.Token)); }
See Also