IsRestrictedUser

Description

Tests whether the current user has restricted access and action privileges and returns Boolean True if privileges are restricted and otherwise returns False. Is user is a Superuser, this method returns False.

Data access, reporting, and management can be controlled at the database, record type, and field levels. This method tests privileges related to record types and fields. To manage security at the record type and field levels, both your Rational ClearQuest client and the session database must support security privileges. In general, Rational ClearQuest supports the following user roles: Active User, Schema Designer, User Administrator, and Super User. (See "Rational ClearQuest user privileges" in the IBM Rational ClearQuest MultiSite Administrator's Guide for more information on roles.) This method refers to record type and field privileges, not roles.

If you have restrictions on your record type and field privileges, you can test your privilege levels with HasUserPrivilege. You can also use action and field hooks to programmatically control who can change record and field values.

For example, by default an Active User can see all records in a database, and a Schema Designer can create public queries and reports. However, a Super User can selectively revoke these privileges on specific record types or fields within a record type.

Anmerkung: This method became available in version 2003.06.00.

Syntax

VBScript

session.IsRestrictedUser 

Perl

session->IsRestrictedUser(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
A Boolean True if the user has restrictions and otherwise is False.

Feedback