MembershipResolversGetMembershipChangePasswordResolver Method |
Builds and returns a resolver for email templates of type 'Membership change password'
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax public static MacroResolver GetMembershipChangePasswordResolver(
UserInfo user,
string resetPasswordUrl,
string cancelUrl,
MacroResolver buildFrom = null,
string ipAddress = null
)
Parameters
- user
- Type: CMS.MembershipUserInfo
User to be used as a data source - resetPasswordUrl
- Type: SystemString
The URL used to reset the password - cancelUrl
- Type: SystemString
URL allowing user to cancel the request - buildFrom (Optional)
- Type: CMS.MacroEngineMacroResolver
Resolver to build the result from - ipAddress (Optional)
- Type: SystemString
The IP address where the password reset request came from
Return Value
Type:
MacroResolverRemarks If buildFrom is null then newly created resolver has culture set to the preferred culture of user
See Also