Does anyone have a code snippet for an automation script to retrieve a profile instance by name, please?
Jochen Dewachter [SLC] [DevOps Advocate] Selected answer as best 9th July 2021
Hi Jochen,
You can do this using the profileManagerHelper.
e.g.
private static ProfileManagerHelper pmHelper = new ProfileManagerHelper();
pmHelper.RequestResponseEvent += Helper_RequestResponseEvent;ProfileInstance thisInstance = pmHelper.GetProfileInstancesWithFilter(ProfileInstanceExposers.Name.Contains("part of my name")).FirstOrDefault();
Jochen Dewachter [SLC] [DevOps Advocate] Unselected an answer 9th July 2021