ad_userNivis Nix constructor for the ad_user resource (provider ad). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
display_name,
principal_name,
sam_account_name,
cannot_change_password ? null,
city ? null,
company ? null,
container ? null,
country ? null,
custom_attributes ? null,
department ? null,
description ? null,
division ? null,
email_address ? null,
employee_id ? null,
employee_number ? null,
enabled ? null,
fax ? null,
given_name ? null,
home_directory ? null,
home_drive ? null,
home_page ? null,
home_phone ? null,
id ? null,
initial_password ? null,
initials ? null,
mobile_phone ? null,
office ? null,
office_phone ? null,
organization ? null,
other_name ? null,
password_never_expires ? null,
po_box ? null,
postal_code ? null,
smart_card_logon_required ? null,
state ? null,
street_address ? null,
surname ? null,
title ? null,
trusted_for_delegation ? null,
overrides ? {}
}Required arguments
display_nameprincipal_namesam_account_name
Optional arguments
cannot_change_password(defaults tonull)city(defaults tonull)company(defaults tonull)container(defaults tonull)country(defaults tonull)custom_attributes(defaults tonull)department(defaults tonull)description(defaults tonull)division(defaults tonull)email_address(defaults tonull)employee_id(defaults tonull)employee_number(defaults tonull)enabled(defaults tonull)fax(defaults tonull)given_name(defaults tonull)home_directory(defaults tonull)home_drive(defaults tonull)home_page(defaults tonull)home_phone(defaults tonull)id(defaults tonull)initial_password(defaults tonull)initials(defaults tonull)mobile_phone(defaults tonull)office(defaults tonull)office_phone(defaults tonull)organization(defaults tonull)other_name(defaults tonull)password_never_expires(defaults tonull)po_box(defaults tonull)postal_code(defaults tonull)smart_card_logon_required(defaults tonull)state(defaults tonull)street_address(defaults tonull)surname(defaults tonull)title(defaults tonull)trusted_for_delegation(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
dnsid
Example
ad_user {
name = "user";
display_name = …; # required
principal_name = …; # required
sam_account_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.