IUserFactory Interface
Defines methods that can be used to create IUser objects.
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Name | Description | |
---|---|---|
![]() | CreateAsymmetricKeyUser(IDatabase, String) | 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(IDatabase, String) | 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(IDatabase, String) | 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(IDatabase, String) | 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. |
Show: