Share via


Security.ReadTemplate Method

Gets information about the specified security template.

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
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadTemplate", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadTemplate ( _
    templateUid As Guid _
) As SecurityTemplatesDataSet
'Usage
Dim instance As Security
Dim templateUid As Guid
Dim returnValue As SecurityTemplatesDataSet

returnValue = instance.ReadTemplate(templateUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadTemplate", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SecurityTemplatesDataSet ReadTemplate(
    Guid templateUid
)

Parameters

  • templateUid
    Type: System.Guid
    Indicates the unique identifier for the specified security template.

Return Value

Type: [Security Web service].SecurityTemplatesDataSet
Returns name, description, and information about the category and global permissions in the security template.

Remarks

Project Server Permissions

Permission

Description

ManageSecurity

Allows a user to manage Project Server security. Global permission.

ManageUsersAndGroups

Allows a user to manage Project Server users and groups. Global permission.

See Also

Reference

Security Class

Security Members

Security Web Service