I am looking to get the activation date for all cms users in the code behind. Basically this is for a company page that displays "Length of Service" or time since Activation date.
I've figured out how to get the creation date...but I need the activation date.
CMSMembershipProvider membership = new CMSMembershipProvider();
MembershipUserCollection users = new MembershipUserCollection();
int totalRecords = 0;
string tmp = "";
users = membership.GetAllUsers(0, 0, out totalRecords);
foreach (CMSMembershipUser user in users)
{
tmp = user.CreationDate.ToString();
}
I am still new to Kentico. Any help would be appreciated. Thanks.