HP OneView REST API Reference

users
users.html[10/17/2013 10:35:59 AM]
maxLength: 40
replaceRoles: description: Specifies whether the new roles replace, or are added to, the user's existing
roles.
type: boolean
default: false
currentPassword: description: Current password of user. Password should not contain any of < > ; , \" ' & \\/ | + :
= and space
type: string
pattern: ^[^<>;,\"'&\\\\/|+:= ]+$
required: true
minLength: 8
maxLength: 40
roles: description: Array of role names
type: array
userName: description: User name of the user, should be unique in the appliance, should start only with a
letter and should contain only letters, digits and the characters _ -
type: string
pattern: ^[a-zA-Z]+?[0-9-_a-zA-Z]*$
searchable: true
required: true
minLength: 1
maxLength: 39
emailAddress: description: Email address of the user
type: string
pattern: ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]
{2,})$
searchable: true
minLength: 1
maxLength: 64
officePhone: description: Office phone number of the user
type: string
pattern: ^[^\"'&=<>]+$
minLength: 1
maxLength: 25
mobilePhone: description: Mobile phone number of the user