AuthorizationHelperAuthorizedManageActivity Method |
Returns true if current user is authorized to manage activities.
Namespace: CMS.Activities.Web.UIAssembly: CMS.Activities.Web.UI (in CMS.Activities.Web.UI.dll) Version: 12.0.0
Syntax 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:
BooleanSee Also