Export (0) Print
Expand All

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)

public interface IUserFactory

The IUserFactory type exposes the following members.

  NameDescription
Public methodCreateAsymmetricKeyUserCreates 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.
Public methodCreateCertificateUserCreates 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.
Public methodCreateNoLoginUserCreates 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.
Public methodCreateSqlLoginUserCreates 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft