The default properties of an element, such as Login, Email, and Password, can be easily specified via .Net properties, however, as you noticed, custom properties can only be accessed line by line.
The getProperty() method returns an umbraco.cms.businesslogic.property.Property object, so if you want to get / set the actual values ββof the custom properties that you created, simply access the Value [.net] property in the [umbraco] property, similar to this:
m.getProperty("danceStyles").Value
source share