IUserFactory Interface
Defines methods that can be used to create IUser objects.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Interface IUserFactory
'Usage
Dim instance As IUserFactory
public interface IUserFactory
public interface class IUserFactory
type IUserFactory = interface end
public interface IUserFactory
The IUserFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateAsymmetricKeyUser | 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 AsymmetricKey. | |
CreateCertificateUser | 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 Certificate. | |
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. | |
CreateSqlLoginUser | 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 SqlLogin. |
Top
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace