OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / UserBase Class / IsAdministrator Property



In This Topic
    IsAdministrator Property
    In This Topic
    Indicates if this User is assigned the role of a company administrator.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    <DisplayNameAttribute("")>
    Public ReadOnly Property IsAdministrator As Boolean
    'Usage
     
    
    Dim instance As UserBase
    Dim value As Boolean
     
    value = instance.IsAdministrator
    [DataMember(false)]
    [DisplayName("")]
    public bool IsAdministrator {get;}
    [DataMember(false)]
    [DisplayName("")]
    public:
    property bool IsAdministrator {
       bool get();
    }
    Remarks
    This field is read-only and cannot be directly modified.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also