User bio
404 bio not found
Member since Sep 22, 2022
Posts:
Replies:

Thanks for the info.

However for "roles" SQL gives different information to that from ObjectScript:

 select * from Security.Roles

ID

Description

GrantedRoles  

Name    

NameLowerCase  

Version

However,

%SYS>Set status = ##class(Security.Roles).Get("anyrole",.properties)

%SYS>write status
1
%SYS>zwrite properties
properties("Description")="Super User Role"
properties("GrantedRoles")="NormalUserRole"
properties("Resources")="%DB_IRISSYS:R,%Service_CacheDirect:U,%Service_Object:U,%Service_WebGateway:U,%System_CallOut:U"
Why is that?

I found out the problem.
The Linux permissions were wrong on IRIS.DAT file

Can you please explain what this code does?

If I run:

DO ##class(%SYS.Namespace).ListAll(.result)
zwrite result

I get:
result("%SYS")=""
result("USER")=""

....
So how does this code work?

if $d(^|"%SYS"|CONFIG("Namespaces"," "))

for set ns=$o(@$ZR) quit:ns="" write ns,!

Certifications & Credly badges:
Phillip has no Certifications & Credly badges yet.
Followers:
Phillip has no followers yet.
Following:
Phillip has not followed anybody yet.