GetQuerySecurityProfile method: Session class
Syntax
GetQuerySecurityProfile()
Description
Use GetQuerySecurityProfile to return the current user's security profile for PeopleSoft Query. You can then use the QuerySecurityProfile properties to determine if the user can modify queries, the maximum number of rows to fetch for this user, and so on.
Parameters
None.
Returns
A reference to a QuerySecurityProfile if successful, NULL otherwise.
Example
&MySecProfile = %Session.GetQuerySecurityProfile();
If &MySecProfile.CanModifyQuery Then
/* do some processing */
End-If;
Related Topics