Example #1
0
        private static string ProcessProperty(Principal principal, string property, string value)
        {
            if (!string.IsNullOrEmpty(value))
            {
                principal.SetProperty(property, value);
            }

            return principal.GetProperty(property);
        }