Admin.SetADSyncReplacementCharacter method

Sets the character that replaces commas in resource names during Active Directory synchronization.

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

Syntax

'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
)

Parameters

  • replacementCharacter
    Type: System.Nullable<Char>

    The new replacement character. Set to a null reference (Nothing in Visual Basic) to remove the comma upon import.

Remarks

The GetADSyncReplacementCharacter method requires a restart of the Project Server Queue Service to get a new replacement character set by using the SetADSyncReplacementCharacter method.

Project Server Permissions

Permission

Description

ManageActiveDirectorySettings

Allows a user to manage Active Directory settings. Global permission.

ManageSiteServices

Allows a user to administer services such as Active Directory settings and database timeouts. Global permission.

See also

Reference

Admin class

Admin members

WebSvcAdmin namespace