SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Password expiration for a Contained DB User
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jeff.rathjen
Starting Member

2 Posts

Posted - 02/20/2014 :  15:04:52  Show Profile  Reply with Quote
If I create a DB authenticated user like this:
CREATE USER BOB WITH PASSWORD = 'Pa$$w0rd'

how do I control the password options (must_change, complexity, expiration etc.)?

Note, I am not talking about a login, but a user without a login, authenticated by the contained db.

Thanks for any help.

tkizer
Almighty SQL Goddess

USA
35951 Posts

Posted - 02/20/2014 :  15:22:49  Show Profile  Visit tkizer's Homepage  Reply with Quote
Contained database users do not have these options. They are available only for logins, which uses "more extensive password policies available from Windows".

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

jeff.rathjen
Starting Member

2 Posts

Posted - 02/20/2014 :  15:59:02  Show Profile  Reply with Quote
Thank you.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000