Connecting Primary User and Admin User for use in Safeguard

Hi,

We need to connect Primary user (Identity type) with Admin user for use in Safeguard.

We have been told to use the Secretary Field (ADSAccount) to connect these two users. The secretary field on the Admin-user must contain the username for the Primary User.

A template has been created in table ADSaccountSecretary,column Objectkeysecretary. But something seems to be wrong, because we are having the same error message no matter what we try:

"Error creating notification entries for ADSaccountSecretary.Objectkeysecretary" 

Any ideas anyone ?

Regards

Stig Hylen

Parents
  • This is the code I have used for the template for ADSaccountSecretary.Objectkeysecretary

    And it gives us an error code when compiling; "Error creating notification entries for ADSaccountSecretary.Objectkeysecretary" 

    ****************************************

    Dim f As ISqlFormatter = Connection.SqlFormatter

    If Not CBool(Variables("FULLSYNC")) Then


    If (String.Equals($FK(UID_Person). FK(UID_PersonMasterIdentity).IdentityType$ ,"Admin")) Then


    Value = Connection.GetSingleProperty("ADSAccountSecretary", "XObjectKey", f.UidComparison("UID_Person", $FK(UID_Person).UID_PersonMasterIdentity$ ))
    Else


    value = String.Empty
    End if

    End If

    *************************************************

Reply
  • This is the code I have used for the template for ADSaccountSecretary.Objectkeysecretary

    And it gives us an error code when compiling; "Error creating notification entries for ADSaccountSecretary.Objectkeysecretary" 

    ****************************************

    Dim f As ISqlFormatter = Connection.SqlFormatter

    If Not CBool(Variables("FULLSYNC")) Then


    If (String.Equals($FK(UID_Person). FK(UID_PersonMasterIdentity).IdentityType$ ,"Admin")) Then


    Value = Connection.GetSingleProperty("ADSAccountSecretary", "XObjectKey", f.UidComparison("UID_Person", $FK(UID_Person).UID_PersonMasterIdentity$ ))
    Else


    value = String.Empty
    End if

    End If

    *************************************************

Children