Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Unable to get the Password using CrmMembershipProvider (Custom Membership) after Authenticating User without Login Control

$
0
0

HI,

I've implemented the Portal Website and using CRM 2011 as Backend Database. I've used the Custom Membership Provider i.e. CrmMembershipProvider It allows me to retrieve the Password when the User Login using Login Control but it won't allow me to retrieve password when I am enforcing automatic login when a new User Registers and Create new profile using our website. It is throwing error Parameter 's' cannot be null.

To Retrieve the Password, I am using MembeshipUser.GetPassword() method, Below is the config file setting

<membership defaultProvider="Xrm">
      <providers>
        <add name="Xrm" type="Adxstudio.Xrm.Web.Security.CrmContactMembershipProvider, Adxstudio.Xrm" enablePasswordReset="true" enablePasswordRetrieval="true" requiresQuestionAndAnswer="false" passwordFormat="Encrypted" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonAlphanumericCharacters="0" passwordAttemptWindow="10"/>      
      </providers>
    </membership>

Thanks,

Vikrant


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>