Get the ModulePermissions for the Module DO NOT USE THE SETTTER
Namespace: DotNetNuke.Entities.Modules
Remarks
Since 5.0 the setter has been obsolete, directly setting the ModulePermissionCollection is likely an error, change the contenst of the collection instead.
The setter still exists to preserve binary compatibility without the obsolete attribute since c# will not allow only a setter to be obsolete.
Assembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[XmlArrayAttribute("modulepermissions")] [XmlArrayItemAttribute("permission")] public ModulePermissionCollection ModulePermissions { get; set; } |
Visual Basic |
---|
<XmlArrayAttribute("modulepermissions")> <XmlArrayItemAttribute("permission")> Public Property ModulePermissions As ModulePermissionCollection Get Set |