Export (0) Print
Expand All

IUser Interface

Represents a SQL Server user.

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

public interface IUser : IDatabasePrincipal, IDatabaseOwnedObject, 
	IDatabaseObject, IMetadataObject

The IUser type exposes the following members.

  NameDescription
Public propertyAsymmetricKeyGets the IAsymmetricKey object that is associated with the user.
Public propertyCertificateGets the ICertificate object that is associated with the user.
Public propertyDatabaseGets the IDatabase object that owns this object. (Inherited from IDatabaseOwnedObject.)
Public propertyDefaultSchemaGets an ISchema object that specifies the default schema for the user.
Public propertyIsSystemObjectGets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public propertyLoginGets an ILogin object that specifies the login for the user.
Public propertyMemberOfRolesGets a collection of database roles this principal is a member of. (Inherited from IDatabasePrincipal.)
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyParentGets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public propertyPasswordGets the password value that is associated with the user.
Public propertyPermissionsGets a collection of permissions granted or denied to this principal. (Inherited from IDatabasePrincipal.)
Public propertyUserTypeGets the type of the user.
Top

  NameDescription
Public methodAccept<T>(IDatabaseObjectVisitor<T>)Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public methodAccept<T>(IDatabaseOwnedObjectVisitor<T>)Accepts a visit from the specified IDatabaseOwnedObjectVisitor<T> object. (Inherited from IDatabaseOwnedObject.)
Public methodAccept<T>(IMetadataObjectVisitor<T>)Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft