This documentation is archived and is not being maintained.

CustomFields.ReadCustomFields Method

Office 2007

Gets enterprise custom field definitions.

Namespace:  WebSvcCustomFields
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/CustomFields/ReadCustomFields", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/CustomFields/", 
	ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/CustomFields/", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public CustomFieldDataSet ReadCustomFields(
	string xmlFilter,
	bool autoCheckOut
)

Parameters

xmlFilter
Type: System.String
Limits the amount of data returned. For more information, see How to: Use a Filter Parameter with PSI Methods.
autoCheckOut
Type: System.Boolean
If true, check out the custom fields for modification.

Return Value

Type: WebSvcCustomFields.CustomFieldDataSet
The CustomFieldDataSet contains information specified by the xmlFilter parameter.

The primary DataTable in the CustomFieldDataSet is the CustomFieldsDataTable. There are no secondary datatables. The xmlFilter parameter works with the Criteria operators to filter rows in the CustomFieldsDataTable.

You can use the Fields.Add method to filter columns in the primary CustomFieldsDataTable.

Project Server Permissions

Permission

Description

CreateNewProposalOrActivity

Create a new proposal. Global permission.

LogOnToProjectServerFromProjectProfessional

Connect to the Project Server database from Project Professional. Global permission.

ManageEnterpriseCustomFields

Modify the definitions of enterprise custom fields and lookup table values. Global permission.

ManageUsersAndGroups

Manage Project Server users and groups. Global permission.

ViewResourceCenter

View resource allocation data. Global permission.

Show: