Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

how to retrieve securityinfo groupname by code

Solved57 views18 hours ago
3
joel_ joly525 2 days ago 0 Comments

Hello DOJO

Is there a way to retreive the groupname associated to the ID ?

Currently we are able to get the users info and the groups they belong to

foreach (var user in securityInfo.Users)
sr.WriteLine(user.EmailAdress);

and

foreach (var grouplist in user.Groups.ToList())
{
groups = groups + "," + grouplist;
}

it gives something like this

tata.toto@toto.com;11,130,60,147,59

what is the c# code to get the name for each group 11,130,60,147,59

Second question
What could be the method in c# to list the security group and users for each LCA dahboard ?

joel_ joly Selected answer as best 18 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Wouter Demuynck [SLC] [DevOps Advocate]6.39K Posted 19 hours ago 3 Comments

Hi,

Assuming the securityInfo variable you have is the output of a GetInfoMessage(InfoType.SecurityInfo) request, you should be able to get the name of a group id by using securityInfo.FindGroupNameByID(groupId) or by looking through the entries in the .Groups property.

Hope this helps!

joel_ joly Selected answer as best 18 hours ago
joel_ joly commented 18 hours ago

Hi Wouter

Perfect, works exactly as expected.

Thanks

joel_ joly commented 18 hours ago

any clue for the Second question ?

Wouter Demuynck [SLC] [DevOps Advocate] commented 18 hours ago

Unfortunately, I have no further info for the second question. I'm not even sure you can request the list of LCAs from inside an automation script.
The configuration files are on disk (One configuration file per LCA at C:Skyline DataMinerapplicationsxxxxapp.info.json as far as I can see). However I would not advise to read these files directly or rely on their format.

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin