User.SetSystemAdmin Method
Set a user as a system admin (or revoke)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
user_id
-
EntityID
the user id
-
is_admin
-
bool
whether or not to set them as a system administrator
-
db
-
IDatabase
the db connection object
.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