Beispiel #1
0
        /// <summary>
        /// A basic add example
        /// </summary>
        /// <param name="organizationCode">This will be used as the initial organization for the Role.</param>
        /// <param name="ID">This will be the Role ID the Role can use to login.  It will be permanent.</param>
        /// <param name="displayName">This will be the name of the new Role</param>
        /// <returns></returns>
        public RolesModel Add(string ID, string displayName)
        {
            var myRole = new RolesModel
            {
                ID          = ID,
                DisplayName = displayName
            };

            return(APIUtil.AddRole(USISDKClient, myRole));
        }