나는 SP.Web Properties에 나와 있지 않습니다.
if (!this.Site.WebApplication.RequestAccessEnabled)
{
throw new NotSupportedException(SPResource.GetString("EmailServiceNotConfigured", new object[0]));
}
if (SPWebService.ContentService.CreateActiveDirectoryAccounts)
{
throw new NotSupportedException(SPResource.GetString("RequestAccessNotAllowedOnVirtualServer", new object[0]));
}
if (!this.HasUniqueRoleAssignments)
{
throw new SPException(SPResource.GetString("RequestAccessUniqueWebs", new object[0]));
}
SPGlobal.FilterNullSize(value, 0xff, "RequestAccessEmail");
this.Request.SetRequestAccessInfo(this.Url, null, 0, true, value.Trim());
난 당신이 인 ECMAScript 개체 모델을 사용하여이 기능을 복제 할 수있을 것입니다 생각하지 않는다 : 여기에 반사경에서 SPWeb.RequestAccessEmail 세터의 정의입니다.
오류가 발생합니까? 속성을 설정하려고하면 어떻게됩니까? –
속성이 클라이언트 쪽 웹 개체에없는 것 같습니다. 서버 개체 모델을 사용하는 경우이 설정은 SPWeb.RequestAccessEmail 속성을 통해 제어됩니다. –