Try the function

## Class (% SYS.LDAP) .Err2String (7)

Try the function, using the return code in place of 7 below
## Class (% SYS.LDAP) .Err2String (7)

My Caché is in Portuguese

This post has been translated by Google Translate, sorry for writing errors


On the server, check the user access permissions used by the cache in the operating system for the mapping path


there is no way to know which is the last line, since each
  return line becomes a message in a unique single session on the bus.

To have control over the data packet returned by the database, in this case it would be interesting to return the data through a BusinessOperation and iterate over the list returned through a Business Process.

Sorry for the mistakes because this message was translated by Google Translate

I did not find the feature however I was able to do this by giving permission for updatena table Security.Users through the SQL Tables tab.

If you want to do this for a group you can create a Resource custon and release it.

ok just be careful with this table so do not kill all users.

I recommend a backup of the file \ mgr \ CACHE.DAT responsible for storing users in Caché

Hi Benjamin.

What is your need?

Are you implementing a tool for this?


Use this code in namespace %sys:

update Security.Users set FullName =  'GOKU', Comment= 'Oi eu sou o GOKU' where id = 'gsjunior'

where the ID is the user login

Sorry for copying and pasting

thank you

Hi in this case I have already used a function that returns a string, with this I came to a utility very similar to the switch case of other languages Sorry for the possible inconsistency in the response, it was translated by google translator


Class Case.Teste Extends %SerialObject

ClassMethod Teste(pReq As %Integer)
              1:..Oi(),2:..Tchau(),: ..GOKU())

ClassMethod Oi() As %String
Quit "OI sou do Brasil"

ClassMethod Tchau() As %String
Quit "Um abraço"

ClassMethod GOKU() As %String
Quit "Oi Eu sou o GOKU"

Storage Default


USER>do ##Class(Case.Teste).Teste(1)
OI sou do Brasil

USER>do ##Class(Case.Teste).Teste(2)
Um abraço

USER>do ##Class(Case.Teste).Teste(3)
Oi Eu sou o GOKU