Share via


Admin.GetServerCurrency method

Reads the currency setting for Project Server.

Namespace:  WebSvcAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/GetServerCurrency", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetServerCurrency As String
'Usage
Dim instance As Admin
Dim returnValue As String

returnValue = instance.GetServerCurrency()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/GetServerCurrency", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetServerCurrency()

Return value

Type: System.String
The three-character code for the currency.

Remarks

The Additional Server Settings page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) uses the GetServerCurrency method. For example, the default United States currency is USD.

Project Server Permissions

Permission

Description

LogOn

Allows a user to log on to Project Server. Global permission.

See also

Reference

Admin class

Admin members

WebSvcAdmin namespace

SetServerCurrency