Desktop productivity for business analysts and programmers

SAS Custom tasks for EG

Reply
N/A
Posts: 1

SAS Custom tasks for EG

How do i access metadata from a custom task in EG.

And from here is there any way to access user roles and groups

Community Manager
Posts: 2,707

SAS Custom tasks for EG

Is the goal to enumerate all user roles and groups?  There isn't an API to do that in the custom task interface.  You would have to write your own metadata queries by using the OMI interface.

You can get a handle to this in a custom task via the SAS.Tasks.Toolkit:

SAS.Tasks.Toolkit.Helpers.SasMetadataProfile.GetActiveProfile().GetSasMetadataConnection()

Cast the result to SAS.IOMI.  You will need to add a reference to the SASOMIInterop.dll in the EG application directory.

Chris

Ask a Question
Discussion stats
  • 1 reply
  • 168 views
  • 0 likes
  • 2 in conversation