IUserFactory.CreateNoLoginUser 메서드

Creates an IMutableUser object that belongs to the specified IDatabase object and has the specified name. The UserType property of the created object is set to NoLogin.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

IMutableUser CreateNoLoginUser(
	IDatabase database,
	string name

매개 변수

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
The IDatabase object that is the parent of the user.
유형: System.String
The name of the user to create.