Thursday, February 9, 2012

Adding a Windows Authentication Login to the server from third-party softwareHi,

I have an application in development into which I want to port some simple user management functionality. I have no problem getting lists of users/database roles/etc. and assigning users to roles as seeing fit, but one last function I cannot perform: replicating the "select windows user" dialog in the domain context of the server so that I have a user to add.

Is this possible with smo? or should I just give up on this angle and just attempt to use ActiveDirectory objects on the client machine and hope that the domain context is the same between the client and the sql server?Hi,

this one is not exposed from SMO, its done through the object picker wrapper:

http://dotnet.org.za/armand/articles/2453.aspx

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

No comments:

Post a Comment