Compartir a través de


User Privileges Foundation Class

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.

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

Remarks

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.

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples