Active Directory Get User Attribute

Hi @Pranav_Singh1

Get user attribute:

To get user attribute of a given user from Active Directory.

ActiveDirectory.GetUserAttribute

Properties:

Common

ContinueOnError - Specifies if the automation should continue even when the activity throws an
error. This field only supports Boolean values (True, False). The default value is False. As a result,
if the field is blank and an error is thrown, the execution of the project stops. If the value is set to
True, the execution of the project continues regardless of any error.

DisplayName - The display name of the activity.

Input

Attribute – Specifies attribute name which need to be retrieved from user properties. (you
can select below mentioned attributes)

  1. EmailAddress,
  2. AccountExpirationDate
  3. DisplayName
  4. EmployeeID
  5. FullName
  6. FirstName
  7. LastName
  8. MobileNumber
  9. OfficeTelphoneNumber
  10. PrincipalName

 DomainName (Optional)(String variable) – Active directory domain name (if no value is
provided default will be current domain name).
 UserEmail (String variable) – user email to get the group property selected in attribute
property. If this property is set, then the UserName property is ignored.
 UserName (String variable) – user name to get the group property selected in attribute
property.
Output
 Result(String variable)- Retrieves the specified attribute for a given user.
Misc
 Private - If selected, the values of variables and arguments are no longer logged at verbose
level.

If you find it useful mark it as solution and close the thread.

cool,
Regards,
Gulshiyaa

4 Likes