Modifying the ASPNETDB tables programmaticallyhttp://forums.asp.net/t/1798058.aspx/1?Modifying+the+ASPNETDB+tables+programmaticallyFri, 11 May 2012 10:54:47 -040017980584954688http://forums.asp.net/p/1798058/4954688.aspx/1?Modifying+the+ASPNETDB+tables+programmaticallyModifying the ASPNETDB tables programmatically <p><em><span style="text-decoration:underline">Split off from <a href="http://forums.asp.net/t/1401949.aspx/1?Modifying&#43;the&#43;ASPNETDB&#43;tables&#43;programmatically"> http://forums.asp.net/t/1401949.aspx/1?Modifying&#43;the&#43;ASPNETDB&#43;tables&#43;programmatically</a>. Please don't necropost.</span></em></p> <p>Hi,</p> <p>Im new to asp.net membership and creating users and roles.</p> <p>I saw your article that you have created users and roles by customizing createUser wizard,</p> <p>Could you please help me me how to create users and roles using web services.</p> <p>can you post me a sample application that can i understand.</p> <p>Thanks in advance.</p> <p></p> 2012-04-27T10:42:45-04:004957627http://forums.asp.net/p/1798058/4957627.aspx/1?Re+Modifying+the+ASPNETDB+tables+programmaticallyRe: Modifying the ASPNETDB tables programmatically <p>Hi Bangalore,</p> <p>As for the ASP.NET membership or role manage providers, you can use them (through the Membership and Roles class in code) in either ASP.NET web application/web service application or non-ASP.NET applications(such as winform , WPF, console aplications) as long as you properly set the providers in the app.config file(web.config file for web apps).</p> <p>Here is a former article which has provided an example and explanation on using ASP.NET membership and role providers in non-ASP.NET applications:</p> <p>#Manage database of ASP.NET 2.0 Membership &amp; Role services in non-ASP.NET context <br> <a href="http://blogs.msdn.com/b/msdnts/archive/2006/12/16/asp-net-2-0-membership-role-management-out-of-asp-net-context.aspx">http://blogs.msdn.com/b/msdnts/archive/2006/12/16/asp-net-2-0-membership-role-management-out-of-asp-net-context.aspx</a></p> 2012-04-30T07:11:36-04:004958448http://forums.asp.net/p/1798058/4958448.aspx/1?Re+Modifying+the+ASPNETDB+tables+programmaticallyRe: Modifying the ASPNETDB tables programmatically <p></p> <blockquote><span class="icon-blockquote"></span> <h4>Bangalore</h4> Could you please help me me how to create users and roles using web services.</blockquote> <p></p> <p>Do you want to utilise ASP.NET Membership - role providers APIs to implement Authentication and authorization in web service</p> <p>OR</p> <p>Implement a web service that utilises ASP.NET Membership &amp; Roles API, so that can client can consume to implement security?</p> <p><img src="http://i47.tinypic.com/2sbsoat.jpg" height="769" width="1089" style="vertical-align:middle; border:1px solid black; margin:1px"></p> <p></p> 2012-04-30T15:00:47-04:004976226http://forums.asp.net/p/1798058/4976226.aspx/1?Re+Modifying+the+ASPNETDB+tables+programmaticallyRe: Modifying the ASPNETDB tables programmatically <p>Hi Sukumar,</p> <p>&nbsp;Im new to SSO,im working on 15days to develop SSO.I want to implement SSO using web services and Active directory.</p> <p>I created SSO with Three applications with ASPNETDB.</p> <p>For each web application in web.config i given appname tag as '/'.then in database it storing Application id as '/'.While authenticating user im giving correct credentials but im unable to login successfully. and can you please tell me how to validate using Application name.And im not implemented Active directory or LDAP.</p> <p>could you please send me <strong>sample&nbsp; application code</strong> to develop SSo with web services and LDAP login.</p> <p>Thanks in Advance.</p> 2012-05-11T09:31:46-04:004976230http://forums.asp.net/p/1798058/4976230.aspx/1?Re+Modifying+the+ASPNETDB+tables+programmaticallyRe: Modifying the ASPNETDB tables programmatically <p>Hi steven,</p> <p>Than you very much.</p> <p>&nbsp;Im new to SSO,im working on 15days to develop SSO.I want to implement SSO using web services and Active directory.</p> <p>I created SSO with Three applications with ASPNETDB.</p> <p>For each web application in web.config i given appname tag as '/'.then in database it storing Application id as '/'.While authenticating user im giving correct credentials but im unable to login successfully. and can you please tell me how to validate using Application name.And im not implemented Active directory or LDAP.</p> <p>could you please send me <strong>sample&nbsp; application code</strong> to develop SSo with web services and LDAP login.</p> <p>Thanks in Advance.</p> <p></p> 2012-05-11T09:34:19-04:004976366http://forums.asp.net/p/1798058/4976366.aspx/1?Re+Modifying+the+ASPNETDB+tables+programmaticallyRe: Modifying the ASPNETDB tables programmatically <p>Note that it is not a standard practice to post new questions in same thread. It is advised to post a new thread with your current issue as your initial post has been alreaey answered with a solution.</p> <p>Being said that refer below references. Note that there won't be any further response on this thread. You are advised to post a new thread.</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>Bangalore</h4> im giving correct credentials but im unable to login successfully</blockquote> <p></p> <p><a target="_blank" href="http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx">http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx</a></p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>Bangalore</h4> <strong>sample&nbsp; application code</strong> to develop SSo with web services and LDAP login</blockquote> <p></p> <p>Query is NOT clear enough. Refer&nbsp;<a target="_blank" href="http://www.dotnetspark.com/links/8961-ldap-wcf.aspx">http://www.dotnetspark.com/links/8961-ldap-wcf.aspx</a></p> <p>As shown in above architecture diagram implement a WCF service which interacts with Active directory to authenticate &amp; authorize users.</p> <p></p> 2012-05-11T10:54:47-04:00