예제 #1
0
        /// <summary>
        /// A basic add example
        /// </summary>
        /// <param name="user">User ID.  You can include a comma delimited list of User ID's or Role ID's, but not both. Example: "BILLW,ALEXY"</param>
        /// <param name="role">Role ID.  You can include a comma delimited list of User ID's or Role ID's, but not both.</param>
        /// <returns>A message for how many UserRole relationships were created.</returns>
        public string Add(string user, string role)
        {
            var myUserRole = new UserRolesModel
            {
                User = user,
                Role = role
            };

            return(APIUtil.AddUserRole(USISDKClient, myUserRole));
        }