Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

FIM client Management Policy Rule

$
0
0

Hello, 

i try to use the fim client, but when i test this code to get MPR i have an error cannot cast RmResource to RmManagementPolicyRule

    String filtre = "/ManagementPolicyRule";
                    ///AuthenticationWorkflowDefinition

                    foreach (RmManagementPolicyRule mprNew in client.Enumerate(filtre))
                        //foreach (RmResource mprNew in client.Enumerate("/ManagementPolicyRule[DisplayName='# MPR - Action - User Calculate location reference']"))
                    {

                        Console.WriteLine(mprNew.DisplayName);
                        Console.ReadLine();
                    }

Any idea ? 


Viewing all articles
Browse latest Browse all 4767

Trending Articles



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