go to post John Murray · Mar 31, 2017 Assuming you aren't using a really old version of Caché (5.0 or earlier), and that your users have their own userids in Caché (i.e. $username is different for each of them), then you can configure things so that certain users aren't able to read the database of NS2. This will stop them switching to the namespace as well. See documentation here and here.If you find this answer useful please click the checkmark alongside it.
go to post John Murray · Mar 30, 2017 Something is going on with that Google Group. When I visited it this morning I was given this message:Continuing to the group, it then says "No topics are available in this group"
go to post John Murray · Mar 29, 2017 When Ensemble runs on Windows its background processes typically run with whatever Windows credentials the Ensemble service (see Windows Service Control Manager) is set to "Log on as". If that is LocalSystem then your background processes won't be able to access UNC paths.For more information, see my post here. If my answer here resolves your question please click the checkmark alongside it above.
go to post John Murray · Mar 23, 2017 I suggest you export the package to XML, then edit the XML, then import it.
go to post John Murray · Mar 20, 2017 There's a flaw in your original idea of eliminating the comma from two $H-format timestamps and then comparing them with the "greater than" operation. For most of a 24 hour period the resulting $TR(dollarH,",") is 10 digits long, but from midnight until 00:00:09 it is only 6 digits long, from 00:00:10 to 00:01:39 it is 7, from 00:01:40 to 00:16:39 it is 8 and from 00:16:40 to 02:46:39 it is 9 long.A working alternative would be to compute $P(dollarH,",")*86400+$P(dollarH,",",2) for each and compare the results, which are the number of seconds since midnight at the start of 31st December 1840.if you need to compare a $H-format timestamp against the current time don't use $P($H,",")*86400+$P($H,",",2) as one of the expressions because there's a small possibility that your two fetches of $H will fall either side of midnight. Instead, fetch $H once, store it in a variable, then process that variable.
go to post John Murray · Mar 17, 2017 Laura, this probably deserves to be posted as a new question so more people will see it. But your situation isn't clear to me. If a user can't log in (why?), how are they going to be able to run something that will log out all their sessions?I also recommend the use of the "comment" link that appears under questions, answers, or other comments. I think this helps put a response into the relevant context.
go to post John Murray · Mar 17, 2017 I didn't see any mention of a "USA and Europe" restriction on the website information.Any reason for not including, say, Canada?
go to post John Murray · Mar 17, 2017 Be aware that Herman's code relies on the process having the non-default SetZEOF setting. More info here.
go to post John Murray · Mar 17, 2017 Glad to have helped you Laura. Please click the checkmark against the answer I gave so that your question no longer lists as "unanswered", and so that I get a few points on Global Masters.
go to post John Murray · Mar 17, 2017 Stephen, are you still using the original https URL Evgeny posted, i.e. https://globalmasters.intersystems.com/ ? My browser still reports an issue with the certificate for that.
go to post John Murray · Mar 17, 2017 Evgeny, I'm not clear what got fixed. The change Alexander requested isn't yet present:After setting myself in the Author field the Articles list still contains ones I didn't write.
go to post John Murray · Mar 16, 2017 Are you aware of the ChangePassword method of %SYSTEM.Security? You can call it from the $system SVN, i.e. something like:set blnOK=$system.Security.ChangePassword($username,newPW,oldPW,.status)If blnOK is false there should be more information in status.
go to post John Murray · Mar 16, 2017 Perhaps worth linking to this post which explains the meaning of %DEFAULTDB in the above screenshot. The %DEFAULTDB setting arrived in 2016.1 and facilitates subscript level global mappings using %ALL.