我试图关注these instructions,但我不知道要包含哪些内容
链接中的代码如下所示
string samlSite = "https://saml.set1.bertonline.info/sites/bert";
OfficeDevPnP.Core.AuthenticationManager am = new OfficeDevPnP.Core.AuthenticationManager();
ClientContext ctx = am.GetADFSUserNameMixedAuthenticatedContext(samlSite, "administrator", "pwd", "domain", "sts.set1.bertonline.info", "urn:sharepoint:saml");
FieldCollection fields = ctx.Web.Fields;
IEnumerable<Field> results = ctx.LoadQuery<Field>(fields.Where(item => item.Hidden != false));
ctx.ExecuteQuery();
foreach (Field field in results)
{
Console.WriteLine("{0} - {1}", field.Id, field.InternalName);
}
我公平起诉我知道你对samlSite
使用了什么,但对sts或lpid完全不了解。我将如何开始寻找这些?