AuthorizationHelper.AuthorizedReadActivity 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: 10.0.0
Syntaxpublic static bool AuthorizedReadActivity(
int siteID,
bool redirectIfNotAuthorized
)
Parameters
- siteID
- Type: System.Int32
SiteID of an activity - redirectIfNotAuthorized
- Type: System.Boolean
Indicates if redirect should be done when not enough permissions
Return Value
Type:
Boolean
See Also