asp.net membership - Custom MembershipProvider SharePoint FBA and the user's display name -
we using both windows authentication , forms based authentication in claims aware sharepoint webapplication. custom membershipprovider (datasource: novell edirectory) works fine i'm uncertain few things.
the cn property of each user record unique identifier (hexadecimal value). users logging in using email addresses (and password) though. don't want make unique identifier visible anywhere.
getuser(string username, bool userisonline) findusersbyemail(...) , findusersbyname(...) return membershipuser(s) constructed way:
custommembershipuser membershipuser = new custommembershipuser( providername: name, // membership provider's name username: provideruserkey, *// "cn" name* provideruserkey: provideruserkey, *// again "cn" name* email: email, // email used log in passwordquestion: null, comment: null, isapproved: true, islockedout: false, creationdate: datetime.minvalue, lastlogindate: datetime.minvalue, lastactivitydate: datetime.minvalue, lastpasswordchangeddate: datetime.minvalue, lastlockedoutdate: datetime.minvalue, firstname: givenname, lastname: surname); the last 2 parameters "custom-"membershipuser parameters. my ultimate goal display users in windows-integrated-authentication-style "lastname, firstname".
right upon entering email address people picker resolves email address "cn" name xyz12345. instead want display "lastname, firstname" throughout sharepoint. information present in datasource (edirectory) , can enrich custommembershipuser information of course neither peoplepicker nor else in sharepoint aware of custom membershipuser.
is there claims related should aware of?
Comments
Post a Comment