Security constructor
Office 2013 and later
Creates a Security object from the ASMX-based Security web service.
Namespace: WebSvcSecurity
Assembly: ProjectServerServices (in ProjectServerServices.dll)
In the following statement, SecurityWebSvc is an arbitrary namespace for the ASMX-based Security web service.
private static SecurityWebSvc.Security security = new SecurityWebSvc.Security();
In the following statement, SvcSecurity is an arbitrary namespace for the WCF-based Security service. The endpt parameter is a String value that specifies the name of the client endpoint address in the app.config file (or in the web.config file for web applications).
private static SvcSecurity.SecurityClient securityClient = new SvcSecurity.SecurityClient(endpt);
Show: