Site.getMenuContext (Method)

Returns a structure containing information about the current user's current menu context; for example, 'enabledMenuClassList', 'menuContextTimeStamp', and 'visibleMenuClassList'.

Returns:

Site_GetMenuContext_Result (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
enabledMenuClassList MenuContextList A comma-delimited list of the current user's enabled menu class names.
menuContextTimestamp PlainText An integer representing the tick count of the last security change.
visibleMenuClassList MenuFeatureList_EmptyString A comma-delimited list of the current customer's visible menu class names.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None