Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Setting CustomAttributes to a multi line
Wed, Apr 1 2015 10:23 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

Hi

I can't find an example of setting attributes with SQL.

I want to do this:-

CREATE USER "Fred Bloggs"

plus I want to set the Attributes to a multiline value

e.g.

Email=Fred@bloggs.com
DayTimePhone=+6491234567
MobilePhone=+642741234567

Hope someone can help me with the syntax

Cheers

Jeff
Wed, Apr 1 2015 10:37 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

Jeff Cook wrote:

<I can't find an example of setting attributes with SQL.

As usual the solution came to me as soon as I posted.  All I had to do was change the attributes using EDBMgr and look at the SQL!

Thus:-

CREATE USER "Fred Bloggs"
PASSWORD '<Password>'
ATTRIBUTES 'Email=Fred@bloggs.com
DayTimePhone=+6491234567
MobilePhone=+642741234567'

i.e just stick the lines in quotes!

Cheers

Jeff
Image