This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Powershell Custom Activity Write into AD

Hello,

I am looking to create a custom activity that can allow user to update certain custom attributes in Active Directory.

Inside the SDK documentation, I have noticed a UserAccountInfo class and AttributeInfo class.

Please enlighten me on how can I utilize them in custom activity.

Thank you

Parents
  • How you use these classes depend on what you want to do.

    If you pipe them to Get-Member, you will get a list of attributes and methods.

    Be use to also check out the $workflow object. It has some very useful methods and attributes.

    For example, $workflow.Userinfo.AccountInfo.Mail gives you the email address of the initiator of the Workflow.
Reply
  • How you use these classes depend on what you want to do.

    If you pipe them to Get-Member, you will get a list of attributes and methods.

    Be use to also check out the $workflow object. It has some very useful methods and attributes.

    For example, $workflow.Userinfo.AccountInfo.Mail gives you the email address of the initiator of the Workflow.
Children
No Data