Back to product page

UserIsAdmin property


Returns True if current process has administrator privileges.

Type

A Boolean value

Syntax

  • Basic
object.UserIsAdmin [= value]
The UserIsAdmin(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodAppUpdate.
valueA Boolean value.

Remarks

If this property is set to True, that means that user that runs your application already has administrative privileges, and most probably you don't need to set RequireAdmin property to True - you can simply use wodAppUpdate to update your application.

Platforms

Windows