User2.5 Create
This topic describes the function which allows you to create a user.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated 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. |
| psUserName | String | In | The name of the user |
| psXMLMetaData | String | In | Metadata XML structure with the metadata that will be set on the current object |
| psOutUserId | String | Out | The element name of the new user |
Requirements are:
- Only an Administrator user can create a user.
Note that:
- The
levelattribute on theishfieldelement must be 'none'. - The internal element name is generated using the prefix
VUSERand the givenpsUserNamevalue (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
FISHUSERDISPLAYNAMEcan be used to have a readable label for the user. If the fieldFISHUSERDISPLAYNAMEis 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
FISHUSERTYPEisInternalwhich indicates that the user is an Internal Content Manager user. - If the user is an internal Content Manager user, the field
PASSWORDmust 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
FISHEXTERNALIDmust be set.