Checks if the current user is full page editor in shared mode - the user must be admin or his role must be explicitly set in Page.EditRoles.
Similar to the AllowPersonalization, but returns true onlyu for the "real" editors - false is returned for users with partial privileges.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool IsPageEditor() |
Visual Basic |
---|
Public Shared Function IsPageEditor As Boolean |
Visual C++ |
---|
public:
static bool IsPageEditor() |
F# |
---|
static member IsPageEditor : unit -> bool
|
Return Value
Type:
BooleanTrue if user is page editor, false otherwise.
See Also