PermissionsRemoveAll Method |
Remove all permissions of the specified module.
It will not save the change in the database
unless you explicitly call the
Save method.
Namespace:
AskiaPortalCmn.Common
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax public IReturnValue RemoveAll(
Nullable<Guid> moduleGuid = null
)
Public Function RemoveAll (
Optional moduleGuid As Nullable(Of Guid) = Nothing
) As IReturnValue
public:
virtual IReturnValue^ RemoveAll(
Nullable<Guid> moduleGuid = nullptr
) sealed
Parameters
- moduleGuid (Optional)
- Type: SystemNullableGuid
GUID of the module that contains the permission item.
It uses the current module
CurrentModule
if the value is null.
Return Value
Type:
IReturnValue
It return fail value,
if the user in the context doesn't have
enough permission to do this action
Implements
IPermissionsRemoveAll(NullableGuid)Remarks
The user in the context must be able to manage
the permissions.
It will not save the change in the database
unless you explicitly call the
Save method.
See Also