Login.LoginType Property


Gets or sets the type of SQL Server login account.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public LoginType LoginType { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.LoginType

A LoginType object value that specifies the type of authentication performed on the SQL Server login account.

The type of login specifies whether the Windows account is a group account or a single user account in addition to the type of authentication.

Return to top