Share via


User.IsSystemObject Property

Gets the Boolean property that specifies whether the database user is a system object.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "false")> _
Public ReadOnly Property IsSystemObject As Boolean 
    Get
'Usage
Dim instance As User 
Dim value As Boolean 

value = instance.IsSystemObject
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")]
public bool IsSystemObject { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase, 
    L"false")]
public:
virtual property bool IsSystemObject {
    bool get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")>]
abstract IsSystemObject : bool
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")>]
override IsSystemObject : bool
final function get IsSystemObject () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the database user is a system object.If True, the database user is defined as a system object.If False (default), the database user is not defined as a system object.

Implements

IUserOptions.IsSystemObject

Examples

Managing Users, Roles, and Logins

See Also

Reference

User Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Principals (Database Engine)

CREATE USER (Transact-SQL)