当我help set-aduser在PowerShell命令行输入时,我会得到下面列出的信息.我有兴趣改变的财产是办公室.
根据下面列出的信息,该属性指定为-office.但AD命名办公室没有属性,实际上就是这样physicalDeliveryOfficeName.他们都在AD中引用相同的属性吗?为什么这样,我会认为我只能指定LDAP名称?
NAME
Set-ADUser
SYNOPSIS
Modifies an Active Directory user.
SYNTAX
Set-ADUser [-Identity] <ADUser>
[-AccountExpirationDate <System.Nullable[System.DateTime]>]
[-AccountNotDelegated <System.Nullable[bool]>] [-Add <hashtable>]
[-AllowReversiblePasswordEncryption <System.Nullable[bool]>]
[-CannotChangePassword <System.Nullable[bool]>] [-Certificates <hashtable>]
[-ChangePasswordAtLogon <System.Nullable[bool]>] [-City <string>]
[-Clear <string[]>] [-Company <string>] [-Country <string>] [-Department <string>]
[-Description <string>] [-DisplayName <string>] [-Division <string>]
[-EmailAddress <string>] [-EmployeeID <string>] [-EmployeeNumber <string>]
[-Enabled <System.Nullable[bool]>] [-Fax <string>] [-GivenName <string>]
[-HomeDirectory <string>] [-HomeDrive <string>] [-HomePage <string>]
[-HomePhone <string>] [-Initials <string>] [-LogonWorkstations <string>]
[-Manager <ADUser>] [-MobilePhone <string>] [-Office …Run Code Online (Sandbox Code Playgroud) 我有这个html是根据我们数据库中的数据动态创建的.我正在尝试创建一个向导,以便当用户单击单选按钮时,我使用ajax调用webservice,并创建另一个单选按钮列表供用户选择.初始页面加载工作正常,但是当我创建动态单选按钮列表时,我遇到了触发事件的问题.我是否必须重新加载文档或特定div以使其工作?
我想在选择其中一个单选按钮时捕获"更改"事件.下面的jQuery没有捕获事件.关于我做错了什么的任何建议?
HTML:
<input name="productModel" id="Basic-jacketCustom" type="radio" value="Basic jacket"><label for="Basic-jacketCustom">Basic jacket</label>
<input name="productModel" id="Platinum-jacketCustom" type="radio" value="Platinum jacket"><label for="Platinum-jacketCustom">Platinum jacket</label>
<input name="productModel" id="Platinum-Pro-jacketCustom" type="radio" value="Platinum Pro jacket"><label for="Platinum-Pro-jacketCustom">Platinum Pro jacket</label>
<input name="productModel" id="Riding-jacketCustom" type="radio" value="Riding jacket"><label for="Riding-jacketCustom">Riding jacket</label>
Run Code Online (Sandbox Code Playgroud)
jQuery的:
$('input[name="productModel"]').change(function() { alert("Event
Fires"); });
Run Code Online (Sandbox Code Playgroud)