User.MakeContained(Boolean, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a login mapped user to a contained user with password using the sys.sp_copy_password_to_user stored procedure.
public void MakeContained (bool copyLoginName, bool disableLogin);
member this.MakeContained : bool * bool -> unit
Public Sub MakeContained (copyLoginName As Boolean, disableLogin As Boolean)
Parameters
- copyLoginName
- Boolean
Copies the earlier mapped login name to the contained user.
- disableLogin
- Boolean
Disables the earlier mapped login.