AuthorizationHelperAuthorizedReadActivity Method |
Indicates if current user is authorized for activities.
Namespace: CMS.Activities.Web.UIAssembly: CMS.Activities.Web.UI (in CMS.Activities.Web.UI.dll) Version: 11.0.0
Syntax 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:
BooleanSee Also