<doc>
  <legacy_id>2179</legacy_id>
  <name>userLevel</name>
  <type>property</type>
  <syntax>
    <example>set the userLevel to <i>number</i></example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
  </classification>
  <references>
    <command tag="edit">edit Command</command>
    <command tag="choose">choose Command</command>
    <property tag="cantModify">cantModify Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Has no effect and is included in <glossary tag="LiveCode">LiveCode</glossary> for compatibility with imported <keyword tag="top">HyperCard</keyword> stacks.</summary>
  <examples>
  </examples>
  <description>
    <p>In HyperCard, the <b>userLevel</b> <glossary tag="property">property</glossary> determines what actions the user can perform. In LiveCode, there are no separate user levels.</p><p/><p>By default, the <b>userLevel</b> <glossary tag="property">property</glossary> is set to 8. (This is greater than any of the <glossary tag="value">values</glossary> permitted in HyperCard for the <b>userLevel</b> <glossary tag="property">property</glossary>, so <glossary tag="import">imported</glossary> <function tag="stacks">stacks</function> that check whether the <b>userLevel</b> is greater than a certain number will continue to work without modification.)</p><p/><p>A handler can set the <b>userLevel</b> to any number without causing a <glossary tag="error">script error</glossary>, but the <glossary tag="behavior">behavior</glossary> of the <glossary tag="application">application</glossary> is not changed.</p>
  </description>
</doc>