chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkat Medisetty <venkat.medise...@telegraph.co.uk>
Subject Not able to create a cmis user through code
Date Fri, 12 Oct 2012 15:35:35 GMT
Hi,

I am working on a project where we uses DotCMIS. The requirement we have is
to create a new user using CMIS programatically.

The blow method in DOTCmis throwing an error.

Map<String, Object> properties = new HashMap<String, Object>();
properties.put(PropertyIds.OBJECT_TYPE_ID, "User");
properties.put("cmis:name", “auser”);
properties.put("ot__NAME", “Arnold Userington”);
properties.put("ot__PASSWORD", “1234SRTS=”);
properties.put("ot__STATUS", “ACTIVE”);
properties.put("ot__SECURITY_PROFILE", “Contributor”);
properties.put("ot__CONTRIBUTOR", “TELEMMGLSPLR000000000012”);
ObjectId newID = details.getSession().createDocument(properties,
null, null, VersioningState.NONE);

Regards,
Venkat

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message