Ejemplo n.º 1
0
    /// <summary>
    /// Determines the role of the User.
    /// </summary>
    /// <param name="Username">String with the Username to find</param>
    /// <returns>Returns the actual Privilege of the User</returns>
    private String AssignRoles(String Username)
    {
        Users user = new Users();

        user.Username = Username;

        return user.getPrivilegeByUser();
    }