Monday, December 18, 2017  
You are here:  Knowledge base * DotNetNuke * Architecture * Users, Roles, and Security Register  Login
Users


Current logged in user
The current UserID can be retrieved by simply calling UserID. This is because our module implement the DotNetNuke framework object that has this function.

UserInfo object
The UserInfo object containts various user information.

Roles


Roles
Roles are part of the security system

Common functions:

  • PortalSecurity.IsInRole(PortalSettings.AdministratorRoleId.ToString)
  • PortalSecurity.IsInRoles(ModuleConfiguration.AuthorizedEditRoles)
  • RoleController.GetPortalRolesByUser
  • RoleController.GetRoleByName

Note:
Due to updates of the DotNetNuke these functions can change in time.

Security


Security
You can use the security system within your module to ensure correct authorization of your data manipulation.

Common functions are:

  • HasNecessaryPermission()
  • Security.PortalSecurity.HasEditPermissions(ModuleConfiguration.ModulePermissions)

 
Home  |  Company  |  Products  |  Contact  |  Downloads  |  Knowledge base
Copyright (c) 2017 FRENT IT   |  Privacy Statement  |  Terms Of Use