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.

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


Help - IsWebUserInRole

Loading application