Skip to main content
edited title
Link

Where can i found the configuration file of UGC database and which user will be saved in database?

Source Link

Where can i found the UGC database and which user will be saved in database?

I have two questions: 1)I'am working in project using UGC and i want to access to data in UGC database. can i open database with sql Server?

2)When an author added a comment which detail of user will be saved in uGC database. I have this code for adding comment:

<form method="post" id="commentForm">
        <table border="0">
            <tr>
                <td colspan="2">
                    <input id="newCommentName" type="hidden" name="username@@Component.ID@@@@Page.ID@@" value="<%=HttpContext.Current.User.Identity.Name%>"/>
                    <label for="newCommentText">Enter comment:</label><br/>
                    <textarea id="newCommentText" rows="4" cols="30" name="addComment@@Component.ID@@@@Page.ID@@"></textarea>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" id="B1" name="B1" value="Submit"/>
                    
                </td>
            </tr>
        </table>
    </form>
    

After submitting comment it appear with another detail (not HttpContext.Current.User.Identity.Name)

Thanks.