User Privileges Foundation Class
Category | System Utilities |
---|---|
Default Catalog | Visual FoxPro Catalog\Foundation Classes\Utilities |
Class | _userpriv |
Base Class | Custom |
Class Library | _system.vcx |
Parent Class | _custom |
Sample | ...\Samples\Solution\Ffc\Logo.scx |
This class returns the User Access Rights of the currently logged on user. On Windows 2000, this would be Guest, Power User or Administrator. This information is commonly needed in applications that provide Windows 2000 Logo compliancy.
To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class icon on the form. You can specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.
See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.
Properties, Events, Methods | Description |
---|---|
GetUserPriv method | Returns path to specified system folder.
Syntax: GetUserPriv(cUser) Return: access of user Arguments: cUser specifies name of user to check. |
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Foundation Class Samples