Click or drag to resize
AuthorizationHelperAuthorizedManageActivity Method
Returns true if current user is authorized to manage activities.

Namespace: CMS.Activities.Web.UI
Assembly: CMS.Activities.Web.UI (in CMS.Activities.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static bool AuthorizedManageActivity(
	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