Sharepoint 2010 / Sharepoint 2013 Membership “The method or operation is not implemented” Error

Issue:
Calling the GetUser method of the static membership provider triggers NotImplementedException.

Solution:

MembershipProvider _provider = Membership.Providers["SQL-MembershipProvider"];

MembershipUser user = _provider.GetUser(“your user name”);

Where [“SQL-MembershipProvider”] is the provider name in web config file.

The errors appear because the default membership provider of Sharepoint has to be the ClaimsMembershipProvider.

manuel11g

Leave a Reply