How to check if user has admin privilege while installing

asked 14 Sep '11, 06:16

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


You can use an installer environment variable called installer_is_root_install.

<showInfo text="You are administrator!">
  <ruleList>
    <compareText text="${installer_is_root_install}" value="1" logic="equals" />
  </ruleList>
</showInfo>
link

answered 14 Sep '11, 06:16

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×22
×7
×2
×1

Asked: 14 Sep '11, 06:16

Seen: 1,368 times

Last updated: 14 Sep '11, 06:16