Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i] Is it possible to check for Windows Domain Group Membership in .cfg File?

$
0
0

[quote user="Robert Hook"]MicroStation configuration files do have a very limited ability to read values in the registry.  If your application settings could define a specific "required" value then the MicroStation config file could react to the presence of an existing key or limited parsing of a value.[/quote]

Hmm.. That has possibilities, I think.

 

My current thoughts are to use a DGNAPP (not an INITAPP) and once the app loads, check if the user belongs to the domain group in question. If not, I would "edit" the MS_DGNAPPS list and remove the entry for the specific DGNAPP. Hopefully, then when the next drawing is opened, if user NOT a member, the app would not load. Not sure if that's even possible (re-define MS_DGNAPPS programatically).

 

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>