Share via


IDatabase.Users Property

Gets a collection of all users in the database.

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

Syntax

'Declaration
ReadOnly Property Users As IMetadataCollection(Of IUser)
    Get
'Usage
Dim instance As IDatabase
Dim value As IMetadataCollection(Of IUser)

value = instance.Users
IMetadataCollection<IUser> Users { get; }
property IMetadataCollection<IUser^>^ Users {
    IMetadataCollection<IUser^>^ get ();
}
abstract Users : IMetadataCollection<IUser>
function get Users () : IMetadataCollection<IUser>

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IUser>
The IMetadataCollection<T> of IUser that contains the collection of all users in the database.