SysQueryRangeUtil::currentRoleHasAccessToPrivate Method [AX 2012]

Checks to determines whether the current logged-in role has access to private locations.

Syntax

client server public static boolean currentRoleHasAccessToPrivate([boolean _useCache])

Run On

Called

Parameters

  • _useCache
    Type: boolean
    A Boolean value that specifies whether this method will use the cache.

Return Value

Type: boolean
true if the current role has access to private locations; otherwise, false.

Remarks

This method is used by the private location policy.

See Also

Reference

SysQueryRangeUtil Class