Click or drag to resize
AuthorizationHelperAuthorizedReadActivity Method
Indicates if current user is authorized for activities.

Namespace: CMS.Activities.Web.UI
Assembly: CMS.Activities.Web.UI (in CMS.Activities.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static bool AuthorizedReadActivity(
	int siteID,
	bool redirectIfNotAuthorized
)

Parameters

siteID
Type: SystemInt32
SiteID of an activity
redirectIfNotAuthorized
Type: SystemBoolean
Indicates if redirect should be done when not enough permissions

Return Value

Type: Boolean
See Also