You could do group.setProperty("jcr:description","your string")
or for that matter any property. Refer to javadocs here
Update
Add dependency to your project pom for com.adobe.granite.security.user
Inject
@Reference
private UserPropertiesService service;
Get UserProperties Object (resource is the resource instance to your Group) -
if (this.service != null) {
Authorizable authorizable = (Authorizable)resource.adaptTo(Authorizable.class);
UserProperties userProperties;
if (authorizable == null)
{
UserProperties userProperties = (UserProperties)resource.adaptTo(UserProperties.class);
if (userProperties != null) {
UserManager uMgr = (UserManager)resolver.adaptTo(UserManager.class);
authorizable = uMgr.getAuthorizable(userProperties.getAuthorizableID());
}
}
else
{
Session session = ((Node)resource.adaptTo(Node.class)).getSession();
UserPropertiesManager mgr = this.service.createUserPropertiesManager(session, resolver);
String propPath = request.getParameter("path");
userProperties = mgr.getUserProperties(authorizable, propPath);
}
Once you get the UserProperties, you can add the aboutMe
information to your group.
For further reference, read this and the javadocs here