Aracılığıyla paylaş


User.MakeContained(Boolean, Boolean) Method

Definition

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.

Applies to