IModulesAccessAllowAccess Method |
Allow the user or the user profile
to access the specified module.
It will not save the change in the
database unless you explicitly call
the
Savefrom the current
object or the user/user profile.
Namespace:
AskiaPortalCmn.Common
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax IReturnValue AllowAccess(
Guid moduleGuid
)
Function AllowAccess (
moduleGuid As Guid
) As IReturnValue
IReturnValue^ AllowAccess(
Guid moduleGuid
)
Parameters
- moduleGuid
- Type: SystemGuid
GUID of the module to allow
Return Value
Type:
IReturnValue
Return unsuccess value, if the user in
the context doesn't have enough permission
to do that action
Return unsuccess value, if the user in the
context doesn't have the permission to access
the specified module.
Remarks
The user in the context must himself
have an access to the module.
It will not save the change in the
database unless you explicitly call
the
Save from the current
object or the user/user profile.
See Also