Admin.SetADSyncReplacementCharacter Method
Sets the character that replaces commas in resource names during Active Directory synchronization.
Namespace: [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetADSyncReplacementCharacter", 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 Sub SetADSyncReplacementCharacter ( _
replacementCharacter As Nullable(Of Char) _
)
'Usage
Dim instance As Admin
Dim replacementCharacter As Nullable(Of Char)
instance.SetADSyncReplacementCharacter(replacementCharacter)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetADSyncReplacementCharacter", 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 void SetADSyncReplacementCharacter(
Nullable<char> replacementCharacter
)
- replacementCharacter
Type: System.Nullable<Char>
The new replacement character. Set to a null reference (Nothing in Visual Basic) to remove the comma upon import.
The GetADSyncReplacementCharacter method requires a restart of the Project Server Queue Service to get a new replacement character set by using the SetADSyncReplacementCharacter method.
Permission |
Description |
---|---|
Allows a user to manage Active Directory settings. Global permission. |
|
Allows a user to administer services such as Active Directory settings and database timeouts. Global permission. |