PDA

View Full Version : Getting the Registered User of the Computer


Desmond
10-01-2003, 03:35 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Getting the Registered User of the Computer</h3> <b>Document ID: IR10059</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to retrieve the registered user of the computer that your application is running on.</p> <h3>DISCUSSION</h3> <p>To detect the registered user of the system in AutoPlay Media Studio 5.0:<br> <br> Insert the following script in the On Startup event of your project:<br> <br> <code>user = System.GetUserInfo();<br></code> <br> Please note that user is a table variable. To display this information on a page in your application, reference: </p> <ul> <li>user.RegOwner – the registered owner of the computer</li> <li>user.RegOrganization – the registered organization<br> </li> </ul> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | System | System.GetUserInfo</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Registered, User, Owner, Organization </p> <hr> <FONT SIZE=1> Last reviewed: October 1, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>