共用方式為


Security Class

Includes methods for checking user permissions and managing security groups, templates, categories, and organizational permissions in Project Server.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            [Security Web service].Security

Namespace:  [Security Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Security.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Security.asmx?wsdl

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "SecuritySoap", Namespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/")> _
Public Class Security _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Security
[WebServiceBindingAttribute(Name = "SecuritySoap", Namespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/")]
public class Security : SoapHttpClientProtocol

Remarks

For general information about Project Server security, see Project Server Security Primer. To learn how to use the Security class methods, see Using Security Methods in the PSI. To create custom permissions, see Walkthrough: Creating and Using Custom Project Server Permissions.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Security Members

Security Web Service