Documentation Center

User2.5 Create

This topic describes the function which allows you to create a user.

Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant.
psUserNameStringInThe name of the user
psXMLMetaDataStringInMetadata XML structure with the metadata that will be set on the current object
psOutUserIdStringOutThe element name of the new user

Requirements are:
  • Only an Administrator user can create a user.
Note that:
  • The level attribute on the ishfield element must be 'none'.
  • The internal element name is generated using the prefix VUSER and the given psUserName value (see Naming conventions for readable Element Names).
  • The name of the user must be unique, the user name can be an unreadable identifier. In that case, the field FISHUSERDISPLAYNAME can be used to have a readable label for the user. If the field FISHUSERDISPLAYNAME is not set, the field will get the user name as a default value.
  • When supplying the field PASSWORD, make sure the password is compliant with the Content Manager password complexity rules
  • The default value for the field FISHUSERTYPE is Internal which indicates that the user is an Internal Content Manager user.
  • If the user is an internal Content Manager user, the field PASSWORD must be supplied. If the Content Manager password complexity rules allow an empty password, the value can be empty.
  • If the user is an external user, the field FISHEXTERNALID must be set.