I'm trying to programmatically access Project Server 2010 user groups. I'm trying to do by this example:
http://social.msdn.microsoft.com/Forums/en-US/project2010custprog/thread/e54582f4-1d81-4a46-a64d-a27dce69441d
but no luck.
1. problem:
If I use:
SvcSecurity.Security MySecurity = SvcSecurity.Security();
Because Security is an interface, it can not be instantiated. How did they did it in example?
2. problem:
Ok, then I used something this:
SvcSecurity.SecurityClient tSecurity = new SvcSecurity.SecurityClient();
Her I get an error: "Could not find default endpoint element that references contract 'SvcSecurity.Security' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."
Where do I go from here?
3. problem ( if there is solution for 1. or 2. problem)
I would like to send emails to users in Project Server groups, but how do I get to users names or emails programmatically?