Check if a user is a system admin

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function IsSystemAdmin( _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase
) As Boolean
This language is not supported or no code example is available.
public static bool IsSystemAdmin( 
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static bool IsSystemAdmin( 
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function IsSystemAdmin( 
user_id : EntityID
db : IDatabase 
) : boolean;
This language is not supported or no code example is available.

Parameters

user_id
Type: EntityID

the id of the user to check

db
Type: IDatabase

the database

Return Value

Type: bool

whether or not the user is a system administrator

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1