Skip to main content

Reset Logon Hours

Description

This Activity resets the logon hours with provided access type for the specified active directory user.

Properties

Input

  • Active Directory Instance - Specify the instance of the Active Directory.

  • Day of Week - Specify the day of the week of type DayOfWeek to set logon hours for the user.

  • Search User By - The search method to get the user.

    • The Distinguished name uniquely identifies the entry in the directory.
    • The Username is the name created by the user.
  • Search Value - Specify the distinguished name or Username of the user in the Active Directory.

Misc

  • DisplayName – Add a display name to your Activity.
  • Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Optional

  • Access Type - Logon access for the specified active directory user.

    • Permit - Allowed to login
    • Deny - Denied to login
  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.

note

Catches no error if this Activity is present inside the Try-Catch block and the Value of this property is True.

Example

Download Example

Reset Logon Hours