Share via


IMutableUser Interface

Represents a mutable SQL Server user.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IMutableUser _
    Inherits IUser, IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject,  _
    IDatabaseOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, IMetadataObject
'Usage
Dim instance As IMutableUser
public interface IMutableUser : IUser, 
    IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject, IDatabaseOwnedObject, IMutableDatabaseObject, 
    IDatabaseObject, IMutableMetadataObject, IMetadataObject
public interface class IMutableUser : IUser, 
    IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject, IDatabaseOwnedObject, IMutableDatabaseObject, 
    IDatabaseObject, IMutableMetadataObject, IMetadataObject
type IMutableUser =  
    interface 
        interface IUser 
        interface IMutableDatabasePrincipal 
        interface IDatabasePrincipal 
        interface IMutableDatabaseOwnedObject 
        interface IDatabaseOwnedObject 
        interface IMutableDatabaseObject 
        interface IDatabaseObject 
        interface IMutableMetadataObject 
        interface IMetadataObject 
    end
public interface IMutableUser extends IUser, IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject, IDatabaseOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, IMetadataObject

The IMutableUser type exposes the following members.

Properties

  Name Description
Public property AsymmetricKey Gets or sets the IAsymmetricKey object that is associated with the user.
Public property Certificate Gets or sets the ICertificate object that is associated with the user.
Public property Database Gets the IDatabase object that owns this object. (Inherited from IDatabaseOwnedObject.)
Public property DefaultSchema Gets or sets an ISchema object that specifies the default schema for the user.
Public property IsSystemObject Gets or sets a value that indicates whether this is a system object. (Inherited from IMutableDatabaseObject.)
Public property Login Gets or sets an ILogin object that is associated with the user.
Public property MemberOfRoles Gets a collection of database roles this principal is a member of. (Inherited from IMutableDatabasePrincipal.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public property Password Gets or sets the password value that is associated with the user.
Public property Permissions Gets a collection of permissions. (Inherited from IMutableDatabasePrincipal.)
Public property UserType Gets the type of the user. (Inherited from IUser.)

Top

Methods

  Name Description
Public method Accept<T>(IDatabaseObjectVisitor<T>) Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public method Accept<T>(IDatabaseOwnedObjectVisitor<T>) Accepts a visit from the specified IDatabaseOwnedObjectVisitor<T> object. (Inherited from IDatabaseOwnedObject.)
Public method Accept<T>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace