I'm guessing there is a really easy way to do this, but I don't know how. Basically I want to be able to with a stored proc specify user (windows authentication), and/or database, and/or server, and/or table, etc.....
and step one would return that users rights.
step 2 (likly a seperate proc) if I choose, would copy the existing user to a new user with a veriable for userid.....
and step one would return that users rights.
step 2 (likly a seperate proc) if I choose, would copy the existing user to a new user with a veriable for userid.....