Share via


User.LoginType Property

Gets the type of login that is associated with the database user, such as whether it is a Windows group or a SQL Server standard login.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property LoginType As LoginType
    Get
'Usage
Dim instance As User
Dim value As LoginType

value = instance.LoginType
[SfcPropertyAttribute]
public LoginType LoginType { get; }
[SfcPropertyAttribute]
public:
property LoginType LoginType {
    LoginType get ();
}
[<SfcPropertyAttribute>]
member LoginType : LoginType
function get LoginType () : LoginType

Property Value

Type: Microsoft.SqlServer.Management.Smo.LoginType
A LoginType object value that specifies the type of login that is associated with the database user.