Wednesday 15 July 2015

authentication - ASP.Net MVC 4 Simple Membership specify Schema -


I am trying to find out how to set up simple membership of ASP.NET MVC 4. The tables that have users of my current database have a different schema, then how can I specify the schema when starting my database connection 'dbo':

  WebSecurity.InitializeDatabaseConnection (connectionStringName : "Gauslistlink Connection", userTableName: "UserProfile", userIdColumn: "UserId", user name column: "username", auto cutlet: incorrect);   

There is no substitute for schema, I tried to add schema to userTableName but it generates an error. Any suggestions?

Thanks

Tom

Web security database user Use default schema There is no way to specify another schema that I know.

No comments:

Post a Comment