Beispiel #1
0
        /// <summary>
        /// Adds and removes an alias.
        /// </summary>
        /// <param name="member">member</param>
        public static void Aliases(TppMember member)
        {
            Alias alias = new Alias
            {
                Type  = Alias.Types.Type.Domain,
                Value = "verified-domain.com"
            };

            // add the alias
            member.AddAliasBlocking(alias);
            // remove the alias
            member.RemoveAliasBlocking(alias);
        }