{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}

IsWebUserInRole

Checks if the current web user is a member of the specified role. This function is helpful to suppress or display certain sections or fields for different users.

i-net Clear Reports does not have its own login system, rather it uses the Single Sign-On of the web server.
For testing this function with the i-net Designer you can set a user name in the group "Virtual Permissions" of the Designer Options.

Usage:

IsWebUserInRole( string )

Returns:

True if the current user is a member of the specified role.

Examples:

IsWebUserInRole( "Admins" )	// Returns true if the user currently viewing this report has an "Admins" role