internal static object WebIdGetter(IPropertyBag propertyBag) { string sharePointSiteInfo = (string)propertyBag[ADUserSchema.SharePointSiteInfo]; string text; string guidString; TeamMailbox.ParseSharePointSiteInfo(sharePointSiteInfo, out text, out guidString); return(TeamMailbox.GetGuid(guidString)); }
internal static Uri WebCollectionUrlGetter(IPropertyBag propertyBag) { string sharePointSiteInfo = (string)propertyBag[ADUserSchema.SharePointSiteInfo]; string urlString; string text; TeamMailbox.ParseSharePointSiteInfo(sharePointSiteInfo, out urlString, out text); return(TeamMailbox.GetUrl(urlString)); }