protected override void FillSchema(Microsoft.SharePoint.WebControls.SPProviderSchema schema) { if (schema == null) { throw new ArgumentNullException(Name + ":Invalid Schema Provider"); } IEnumerable <ZimbraClaim> claims = ZimbraClaimsMapped.Claims.Where(x => x.EntityDataKey != null); foreach (ZimbraClaim claim in claims) { schema.AddSchemaElement(new SPSchemaElement(claim.EntityDataKey, claim.Name, SPSchemaElementType.Both)); } /* * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.AccountName, "Account Naam", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.Department, "Group Naam", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.DisplayName, "Display Naam", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.Email, "Email", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.Email, "Email Alias", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.MobilePhone, "Mobiel", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.PrincipalType, "zimbraId", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.SharePointGroupId, "Group", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.UserId, "uid", SPSchemaElementType.Both)); * schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.WorkPhone, "Telefoon", SPSchemaElementType.Both)); */ }
protected override void FillSchema(Microsoft.SharePoint.WebControls.SPProviderSchema schema) { throw new NotImplementedException(); }
protected override void FillSchema(Microsoft.SharePoint.WebControls.SPProviderSchema schema) { schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.DisplayName, "Display Name", SPSchemaElementType.Both)); }
protected override void FillSchema(Microsoft.SharePoint.WebControls.SPProviderSchema schema) { //Add the schema element we need at a minimum in our picker node. schema.AddSchemaElement(new SPSchemaElement(PeopleEditorEntityDataKeys.DisplayName, "Display Name", SPSchemaElementType.Both)); }