User.Rename Method
SQL Server 2012
Renames the database user.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- newname
- Type: System.String
A Boolean value that specifies the new name of the database user.